Hello
I'm getting unexpected results with StealJS. (using StealJS 0.3.0) I'd like to load both a .css file and a .less file. But I want the .css file to be included first. This works great in development. But building the production file fails. (error below)
This works in development.
I'm getting unexpected results with StealJS. (using StealJS 0.3.0) I'd like to load both a .css file and a .less file. But I want the .css file to be included first. This works great in development. But building the production file fails. (error below)
This works in development.
- steal('jquery',
- 'can',
- 'css/reset.css!',
- 'css/test.less!',
- function($, can) {
- $(document.body).html("<h1>Hello World</h1>");
- });
- patricks-MacBook-Pro:www patrickclancy$ node buildjs.js
- OPENING: test
- Transpiling...
- ERROR: undefined undefined
- build is successful
The strange part is switching the order of the .less and .css file.
So that the .less file dependency is declared first. Produces a
successful build but doesn't include the reset first in production file.
- ...
- 'css/test.less!',
- 'css/reset.css!',
- ...
In my stealconfig defining the dependency has no effect on load
order or build success.
Statement in my steal.config meta object .
- "css/test.less": {deps: ["css/reset.css!"]}
Any feedback or help would be greatly appreciated.
patrick