Update build script to move files to dist folder
This commit is contained in:
parent
eb099c931c
commit
1fa37e9def
@ -53,7 +53,7 @@
|
||||
"lint": "eslint src --ext ts",
|
||||
"test": "mocha",
|
||||
"build": "webpack --config webpack.config.js",
|
||||
"vscode": "webpack --config webpack.config.js",
|
||||
"vscode": "webpack --config webpack.config.js && mv dist/* ../dist",
|
||||
"vscode:watch": "webpack --config webpack.config.js --watch",
|
||||
"dev": "webpack serve --config webpack.config.js --open",
|
||||
"build:idea": "webpack --config webpack.idea.config.js",
|
||||
|
@ -111,9 +111,9 @@ const webviewConfig = {
|
||||
new DefinePlugin({
|
||||
"process.env.platform": JSON.stringify("vscode"),
|
||||
}),
|
||||
new CopyWebpackPlugin({
|
||||
patterns: [{ from: "dist", to: "../dist" }],
|
||||
}),
|
||||
// new CopyWebpackPlugin({
|
||||
// patterns: [{ from: "dist", to: "../dist" }],
|
||||
// }),
|
||||
],
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user