Closed futurist closed 8 years ago
after npm install j2c-importer --save, with below app.js:
npm install j2c-importer --save
var importer = require('j2c-importer') var obj = importer.toJ2c('a {background-color: red;}', {case:'camel'}) console.log(obj)
then node app below error thrown:
node app
Error: Cannot find module 'j2c-importer'
delete and reinstall j2c-importer with no luck.
Tested the CLI version works very good, convert big CSS file with no error found, excellent!
Thanks, I had forgotten to add the main field in the package.json file...
main
package.json
I just pushed v0.2.0. Is it working now?
v0.2.0
after
npm install j2c-importer --save
, with below app.js:then
node app
below error thrown:delete and reinstall j2c-importer with no luck.
Tested the CLI version works very good, convert big CSS file with no error found, excellent!