Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
duan602728596 committed Oct 10, 2018
2 parents e6b8dc2 + 44a7b32 commit 72d99de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions .sweetrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ export default {
entry: {
app: [path.join(__dirname, 'src/app.js')]
},
output: {
path: path.join(__dirname, 'build'),
filename: isDevelopment ? 'script/[name].js' : 'script/[chunkhash:5].js',
chunkFilename: isDevelopment ? 'script/[name].js' : 'script/[chunkhash:5].js'
},
externals: {
hint: 'window.hint'
},
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"start": "npm run cleanbuild && cross-env NODE_ENV=development milktea start",
"build": "npm run cleanbuild && cross-env NODE_ENV=production milktea build",
"cleanbuild": "rimraf ./build",
"eslint": "eslint ./src",
"update": "milktea update",
"npmi": "npm install --production",
"yarni": "yarn install --production=true --pure-lockfile",
"clean": "node-modules-clean --ext \".opts|.map|.ts|.yml|.png|.dot|.jpg\" --file \"test.js\"",
"eslint": "eslint ./src",
"update": "milktea update"
"clean": "node-modules-clean --ext \".opts|.map|.ts|.yml|.png|.dot|.jpg\" --file \"test.js\""
},
"main": "bin/main.js",
"dependencies": {
Expand Down

0 comments on commit 72d99de

Please sign in to comment.