Replies: 4 comments 12 replies
-
You need to decide which extension you want to use. Also, you likely only want background.js and content-script.js as entrypoints. |
Beta Was this translation helpful? Give feedback.
-
If I don't include |
Beta Was this translation helpful? Give feedback.
-
index.js: import style from "bundle-text:./style.less";
console.log(style); style.less: body {
color: red;
}
|
Beta Was this translation helpful? Give feedback.
-
I'm actually using the latest changes it's merged now, no? and I get a
I don't have an |
Beta Was this translation helpful? Give feedback.
-
Hello
Thanks for the awesome work everyone!
So I have installed parcel#v2 and I run this build command
parcel build src/{style.pcss,background.js,content-script.js} && cp src/icons/*.png src/manifest.json dist/
which generates those files
But when I add
in
src/content-script.js
I get this error during build
Cannot resolve dependency 'bundle-text:./style.css'
cc @mischnic @DeMoorJasper
Beta Was this translation helpful? Give feedback.
All reactions