Open fabriziodebortoli opened 7 years ago
You could use useStrict: false
to disable that check, writing that line here. I haven't tested it, but I think it will work you 👍
@fabriziodebortoli — Can you try to escape the value:
content: "\\62";
and let us know if that works? Thanks!
You could use useStrict: false to disable that check, writing that line here. I haven't tested it, but I think it will work you 👍
@xxxtonixxx thanks but this is only a workaround, I would like to resolve... And rollup documentation says: ES6 modules are always in strict mode, so you shouldn't disable this without good reason.
Edit: I wanted to try the same but the option "useStrict" in the "gulp-rollup" is not used...
@jvandemo - Escaping, build is ok but the icons will not be visible because the css "content" mapping will be wrong
Hi ! Same problem here, by importing bootstrap-sass :
$icon-font-path: "~bootstrap-sass/assets/fonts/bootstrap/";
@import "~bootstrap-sass/assets/stylesheets/bootstrap";
I also have this problem when importing bootstrap library. Any ideas how to handle this? If I escape all the value with "{number}" in bootstrap node_modules everything works, but I don't want to change things in my node_modules..
In a library created with this generator (Thanks! It's awesome) I use a css like this:
Building with
npm run build
I have an error:What can I try to do?
This is an example of library: https://github.com/fabriziodebortoli/ng-icon