Skip to content

Commit

Permalink
Improve dev server config
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMStraub committed Apr 6, 2023
1 parent 203cb1c commit 8579f60
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions web-dev-server.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ const replace = fromRollup(rollupReplace)
export default {
plugins: [
replace({
include: ['node_modules/**/*.ts'],
include: [
'node_modules/@popperjs/**/*.js',
'node_modules/@popperjs/**/*.ts',
'node_modules/tippy.js/**/*.ts',
'node_modules/tippy.js/**/*.js'
],
preventAssignment: true,
'process.env.NODE_ENV': '"development"'
'process.env.NODE_ENV': '"production"'
})
]
}

0 comments on commit 8579f60

Please sign in to comment.