Skip to content
Permalink
Browse files

fix: bundle resources other than js(x)/json in node_modules (#4913)

  • Loading branch information...
clarkdo committed Feb 1, 2019
1 parent 3516580 commit 71a70fe56c5e486bf23136b4f84db98c9773acf9
Showing with 1 addition and 2 deletions.
  1. +1 −2 packages/webpack/src/config/server.js
@@ -16,8 +16,7 @@ export default class WebpackServerConfig extends WebpackBaseConfig {

normalizeWhitelist() {
const whitelist = [
/\.css$/,
/\?vue&type=style/
/\.(?!js(x|on)?$)/i
]
for (const pattern of this.options.build.transpile) {
if (pattern instanceof RegExp) {

0 comments on commit 71a70fe

Please sign in to comment.
You can’t perform that action at this time.