Skip to content

Commit 1fa37e9

Browse files
author
smallstone
committed
Update build script to move files to dist folder
1 parent eb099c9 commit 1fa37e9

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"lint": "eslint src --ext ts",
5454
"test": "mocha",
5555
"build": "webpack --config webpack.config.js",
56-
"vscode": "webpack --config webpack.config.js",
56+
"vscode": "webpack --config webpack.config.js && mv dist/* ../dist",
5757
"vscode:watch": "webpack --config webpack.config.js --watch",
5858
"dev": "webpack serve --config webpack.config.js --open",
5959
"build:idea": "webpack --config webpack.idea.config.js",

webpack.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,9 @@ const webviewConfig = {
111111
new DefinePlugin({
112112
"process.env.platform": JSON.stringify("vscode"),
113113
}),
114-
new CopyWebpackPlugin({
115-
patterns: [{ from: "dist", to: "../dist" }],
116-
}),
114+
// new CopyWebpackPlugin({
115+
// patterns: [{ from: "dist", to: "../dist" }],
116+
// }),
117117
],
118118
};
119119

0 commit comments

Comments
 (0)