mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-17 20:34:53 +00:00
Add browser:true to rollup-plugin-node-resolve for client build.
This commit is contained in:
@@ -27,7 +27,9 @@ export default {
|
|||||||
hydratable: true,
|
hydratable: true,
|
||||||
emitCss: true
|
emitCss: true
|
||||||
}),
|
}),
|
||||||
resolve(),
|
resolve({
|
||||||
|
browser: true
|
||||||
|
}),
|
||||||
commonjs(),
|
commonjs(),
|
||||||
|
|
||||||
legacy && babel({
|
legacy && babel({
|
||||||
|
|||||||
Reference in New Issue
Block a user