- I'm submitting a ...
- [ x] support request
- What modules are related to this Issue?
- [x ] express-engine
- [x ] universal
- What is the current behavior?
In my main.browser.ts I'm requiring an external css file with:
require('!style!css!../../libs/wp-frontend-libs/start-ui/build/css/separate/partials/base.css');
It works fine in the styles are inlined. When I want to include the css already in the server rendering process (require in main.node.ts or globally in my app.ts), the build process crashes with the message:
Cannot find module '!style!css!../../libs/wp-frontend-libs/start-ui/build/css/separate/partials/base.css
Any hints on that? Do I have to use another loader in the server environment?
- Please tell us about your environment:
- Angular version: 2.0.0
- OS: [all Linux ]
- Platform: [NodeJs ]
In my main.browser.ts I'm requiring an external css file with:
It works fine in the styles are inlined. When I want to include the css already in the server rendering process (require in main.node.ts or globally in my app.ts), the build process crashes with the message:
Any hints on that? Do I have to use another loader in the server environment?