mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-24 03:36:36 +00:00
Merge pull request #2353 from resin-io/webber-packer
chore(package): Add npm run script for webpack
This commit is contained in:
commit
349076bf34
@ -24,6 +24,8 @@
|
|||||||
"configure": "node-gyp configure",
|
"configure": "node-gyp configure",
|
||||||
"build": "node-gyp build",
|
"build": "node-gyp build",
|
||||||
"install": "node-gyp rebuild",
|
"install": "node-gyp rebuild",
|
||||||
|
"webpack": "webpack",
|
||||||
|
"watch": "webpack --watch",
|
||||||
"concourse-build-electron": "make webpack",
|
"concourse-build-electron": "make webpack",
|
||||||
"concourse-test": "npm test",
|
"concourse-test": "npm test",
|
||||||
"concourse-test-electron": "npm test",
|
"concourse-test-electron": "npm test",
|
||||||
|
@ -67,7 +67,8 @@ module.exports = {
|
|||||||
use: {
|
use: {
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
options: {
|
options: {
|
||||||
presets: [ 'react', 'env', 'stage-0' ]
|
presets: [ 'react', 'env', 'stage-0' ],
|
||||||
|
cacheDirectory: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user