Matthew Phillips
Matthew Phillips
ok, I'll try to take a look soon.
Ok, took a look at the repo. Couple of things, first the format should be set to `cjs` not amd. setting to amd causes it to override those define() functions...
Do you think this kind of thing is frequent enough that we should document it some where? Here perhaps? https://stealjs.com/docs/StealJS.configuration.html
I think this might be the same issue as https://github.com/stealjs/steal-tools/issues/861
We have `bundleAssets` now which will move assets into your `dist/` and rewrite css to point to those assets. You use it like this: ``` js stealTools.build({ config: __dirname +...
Those that are in css get bundled automatically. You can also specify a `glob` other assets.
Fair enough, let's reopen this to improve the docs.
Here are the bundleAssets options: http://stealjs.com/docs/steal-tools.BundleAssetsOptions.html Probably the place to add some examples.
## Infer assets from css `url()`: ``` js stealTools.build({ config: __dirname + "/package.json!npm" }, { bundleAssets: true }); ``` ## Bundle assets from a glob In this example in addition...
If it were named `template-stache.js` or something like that this problem wouldn't happen. So that's how I would see the real fix happening. Can't make that change until 2.0 though.