mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Merge branch 'master' into feat/build-lists
# Conflicts: # package-lock.json
This commit is contained in:
commit
a7551e1dd8
46 changed files with 3164 additions and 7153 deletions
|
|
@ -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)$/,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue