Merge branch 'master' into feat/build-lists

# Conflicts:
#	package-lock.json
This commit is contained in:
Sam Carlton 2021-03-02 19:32:16 -06:00
commit a7551e1dd8
46 changed files with 3164 additions and 7153 deletions

View file

@ -7,7 +7,8 @@ export default {
target: 'static',
publicRuntimeConfig: {
allUpdateSubscribe: process.env.ALL_UPDATE_SUBSCRIBE
allUpdateSubscribe: process.env.ALL_UPDATE_SUBSCRIBE,
testResultStore: process.env.TEST_RESULT_STORE
},
/*
@ -151,8 +152,19 @@ export default {
** You can extend webpack config here
*/
extend(config, ctx) {
// Client
if (ctx.isClient) {
// Push meta import rule for zip.js
config.module.rules.push({
test: /\.js$/,
loader: require.resolve('@open-wc/webpack-import-meta-loader')
})
}
// Run ESLint on save
if (ctx.isDev && ctx.isClient) {
config.module.rules.push({
enforce: 'pre',
test: /\.(js|vue)$/,