Skip to content

Commit f6751f5

Browse files
committed
WIP 打包时不再插入 LICENSE
1 parent 7def609 commit f6751f5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

webpack.config.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ module.exports = (env, argv) => {
2020
entry = {
2121
"dist/index": "./src/index.ts",
2222
};
23-
plugins.push(new webpack.BannerPlugin({
24-
banner: () => {
25-
return fs.readFileSync("LICENSE").toString();
26-
},
27-
}));
23+
// plugins.push(new webpack.BannerPlugin({
24+
// banner: () => {
25+
// return fs.readFileSync("LICENSE").toString();
26+
// },
27+
// }));
2828
plugins.push(new CopyPlugin({
2929
patterns: [
3030
{from: "preview.png", to: "./dist/"},

0 commit comments

Comments
 (0)