Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

Commit 3007334

Browse files
authored
Merge pull request #59 from benox3/browser-only-fix
fix(rollup): ensure that env dir files get bundled properly for each env
2 parents 6ae1273 + 061afc9 commit 3007334

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rollup.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ export default [
5353
},
5454
],
5555
plugins: [
56-
replace({ '/server/': '/browser/' }),
56+
replace({
57+
include: './src/common/**',
58+
server: '/browser',
59+
delimiters: ['/', ''],
60+
}),
5761
].concat(config.plugins),
5862
globals: {
5963
react: 'React',

0 commit comments

Comments
 (0)