Skip to content

Commit

Permalink
ci: webpack bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Apr 15, 2021
1 parent cb445af commit f300c51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/webpack.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const webpackConfig = {
},
output: {
path: path.resolve(process.cwd(), 'lib'),
publicPath: '/dist/',
publicPath: '/lib/',
filename: '[name].js',
chunkFilename: '[id].js',
libraryTarget: 'umd',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"start": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"report": "cross-env IS_REPORT=true npm run webpack",
"report": "cross-env IS_REPORT=true npm run bundle",
"log": "conventional-changelog --config ./node_modules/vue-cli-plugin-commitlint/lib/log -i CHANGELOG.md -s -r 0",
"cz": "npm run log && git add . && git cz",
"bundle": "webpack --config build/webpack.component.js",
Expand Down

0 comments on commit f300c51

Please sign in to comment.