Closed hakanertug closed 4 years ago
Hello @hakanertug,
I'm not sure why that is happening.
try to add @rollup/plugin-replace
and in your rollup.config.js
add,
import replace from '@rollup/plugin-replace';
plugins: [
replace({
"process.env.NODE_ENV": process.env.NODE_ENV,
}),
svelte({
...
})
]
woww! Thank's it's work...
I get the same error, I am not wanting to change my rollup config as it shouldn't be necessary
I also get the same error and agree with @quantuminfirmation although the posted solution works.
I'm getting the same error
The problem is the word process
is replaced everywhere in the source.
With latest version i hope this is not an issue anymore with emotion removed as dependency.
Hi,
i add import code to my page i get this error on console.
How can i solve this problem? thanks.