We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0fffc7 commit 5fd1bc3Copy full SHA for 5fd1bc3
webpack.prod.js
@@ -44,8 +44,7 @@ const prod = {
44
to: './assets/'
45
},
46
'CNAME'
47
- ]),
48
- new OfflinePlugin()
+ ])
49
]
50
};
51
@@ -108,6 +107,11 @@ module.exports = env => [
108
107
}
109
}),
110
merge(common(env), prod, {
111
- target: 'web'
+ target: 'web',
+ plugins: [
112
+ new OfflinePlugin({
113
+ externals: paths
114
+ })
115
+ ]
116
})
117
];
0 commit comments