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