mirror of
https://github.com/AtHeartEngineer/Animated_Background.git
synced 2026-01-09 00:17:54 -05:00
bug: deploy folder change
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
node_modules/
|
||||
target/
|
||||
dist/
|
||||
!docs/**/*
|
||||
|
||||
1
docs/.gitignore
vendored
Normal file
1
docs/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
0
pkg/index.d.ts → docs/index.d.ts
vendored
0
pkg/index.d.ts → docs/index.d.ts
vendored
Binary file not shown.
Binary file not shown.
@@ -6,7 +6,7 @@ const WasmPackPlugin = require("@wasm-tool/wasm-pack-plugin");
|
||||
module.exports = {
|
||||
entry: './bootstrap.js',
|
||||
output: {
|
||||
path: path.resolve(__dirname, 'pkg'),
|
||||
path: path.resolve(__dirname, 'docs'),
|
||||
filename: 'bundle.js',
|
||||
},
|
||||
plugins: [
|
||||
@@ -14,7 +14,11 @@ module.exports = {
|
||||
template: 'index.html'
|
||||
}),
|
||||
new WasmPackPlugin({
|
||||
crateDirectory: path.resolve(__dirname, ".")
|
||||
crateDirectory: path.resolve(__dirname, "."),
|
||||
outDir: path.resolve(__dirname, "docs"),
|
||||
release: true,
|
||||
target: "web",
|
||||
args: "--no-typescript",
|
||||
})
|
||||
],
|
||||
mode: 'development',
|
||||
|
||||
Reference in New Issue
Block a user