techwraith / atomify-cli Goto Github PK
View Code? Open in Web Editor NEWA CLI for Atomify
License: MIT License
A CLI for Atomify
License: MIT License
I see that you are using the handlebars-runtime module.
Please read this esamattis/node-handlebars-runtime#3
I looked at the source and read the --help, but im not entirely sure what they are.
Right now:
atomify --js assets/js/entry.js --css assets/css/entry.css --output foo
Just gives me: error: unknown option --css
Trying -css
like the docs say gives: error: unknown option -s
if I just run atomify without any CSS deps don't crash. Right now you get an exception if there's no entry.css.
Latest on npm is 0.0.8
Not really sure. Maybe im doing it wrong?
If I go to the directory I have my entry.js file it seems to work fine. However, if I do
$ develop piggybank $ atomify --js assets/js/entry.js
I get
events.js:72
throw er; // Unhandled 'error' event
^
Error: Cannot find module 'assets/js/entry.js'
at /usr/local/lib/node_modules/atomify-cli/node_modules/atomify-js/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:44:17
at process (/usr/local/lib/node_modules/atomify-cli/node_modules/atomify-js/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:110:43)
at /usr/local/lib/node_modules/atomify-cli/node_modules/atomify-js/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:119:21
at load (/usr/local/lib/node_modules/atomify-cli/node_modules/atomify-js/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:54:43)
at /usr/local/lib/node_modules/atomify-cli/node_modules/atomify-js/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:60:22
at /usr/local/lib/node_modules/atomify-cli/node_modules/atomify-js/node_modules/browserify/node_modules/browser-resolve/node_modules/resolve/lib/async.js:16:47
at Object.oncomplete (fs.js:107:15)
I don't want my CSS and JS to be in the same directory. How can I output my CSS/JS to different locations?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.