require css file from node_modules with resolver
Opened this issue · 0 comments
coderaiser commented
Would be great to have ability require css files without using node_modules
prefix.
When I doing:
require('smalltalk/dist/smalltalk.min.css');
As result I see: ParseError: Unexpected token
and full content of css file.
Anyway when I doing:
require('./node_modules/smalltalk/dist/smalltalk.min.css')
Everything works good.
Maybe node-reslover could help with it.