Compare commits
1 Commits
6d0250bbef
...
8e6f061dd2
Author | SHA1 | Date |
---|---|---|
Jack Hadrill | 8e6f061dd2 |
|
@ -5,8 +5,6 @@ name: deploy
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: node:lts
|
image: node:lts
|
||||||
environment:
|
|
||||||
NODE_ENV: production
|
|
||||||
commands:
|
commands:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
module.exports = {
|
||||||
|
productionSourceMap: false,
|
||||||
|
configureWebpack: {
|
||||||
|
optimization: {
|
||||||
|
splitChunks: {
|
||||||
|
minSize: 10000,
|
||||||
|
maxSize: 250000
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue