Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit 2dc81e1

Browse files
authored
fix(Vue): apply style changes with HMR
The `bundle-config-loader` executes for `entryPath` with all extensions: `css`, `js`, `ts`, `scss`, etc. Limit only to `js` and `ts`. Fixes #762.
1 parent 87f6f19 commit 2dc81e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: templates/webpack.vue.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ module.exports = env => {
150150
},
151151
module: {
152152
rules: [{
153-
test: entryPath,
153+
test: new RegExp(entryPath + ".(js|ts)"),
154154
use: [
155155
// Require all Android app components
156156
platform === "android" && {

0 commit comments

Comments
 (0)