Reproduction for meteor/meteor#6846.
The Importing styles from npm
section of the Meteor Guide seems to imply that importing .css
files from npm
packages, using the CSS @import
syntax, should be supported. This
reproduction shows that it does not work using either of the following
syntax approaches:
@import '{}/node_modules/normalize.css/normalize.css';
@import '../node_modules/normalize.css/normalize.css';
git clone https://github.com/hwillson/meteor-issue-6846.git
cd meteor-issue-6846
meteor npm install
meteor
- Access http://localhost:3000/