Skip to content

Commit bbf48f1

Browse files
fix: livereload was enabled for nollup
1 parent 440b94f commit bbf48f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/plugins/nollup/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ module.exports.default = {
4040
config: {
4141
...app.config.rollup,
4242
plugins: [
43-
...app.config.rollup.plugins.filter(plugin => plugin.name !== 'hot'),
43+
...app.config.rollup.plugins.filter(plugin =>
44+
!['hot', 'livereload'].includes(plugin.name)
45+
),
4446
hmr({ inMemory: true, public: staticDir, compatNollup: true })
4547
]
4648
},

0 commit comments

Comments
 (0)