These are chat archives for stealjs/steal

9th
Feb 2016
Alex
@whitecolor
Feb 09 2016 06:42
What you suggest to do with modules which authors don't wan't to include dist modules assuming that their modules should be used with browserfy/webpack?
Matthew Phillips
@matthewp
Feb 09 2016 13:38
We should be able to load any module that they can load
So I would say it is a steal bug if we cannot
0.14.0 will support the folder/index.js convention
you can see it in 0.14.0-pre.8
that covers the biggest gap we had
gust42
@gust42
Feb 09 2016 13:43
hmm, i use steal to fetch a plain html ejs template, but when i use grunt build it doesnt bundle it?
Dovid Bleier
@dbleier
Feb 09 2016 13:47
@matthewp is it possible when building to only bundle node_modules into 1 file (index.js) but leave my source files independent?
and is it possible in development mode to not run thru eval? It uses different line numbers, thus making debugging a bit more difficult?
Alex
@whitecolor
Feb 09 2016 14:03
@matthewp how are you going to know/distinct if it require('./foo') is ./foo.js or ./foo/index.js?
Julian
@pYr0x
Feb 09 2016 20:14
@whitecolor nice article...
Mohamed Cherif Bouchelaghem
@cherifGsoul
Feb 09 2016 21:53
@matthewp I shared can module between 2 modules I got XMLHttpRequest cannot load file:///home/cherif/server/stealmultipage/node_modules/can/can.js. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.
Im experimenting multipage
"devDependencies": {
    "steal": "^0.14.0-pre.8",
    "steal-tools": "^0.14.0-pre.3"
  }
Matthew Phillips
@matthewp
Feb 09 2016 22:00
if they are in separate bundles
you need to create separate bundles for them
bundle: ["bundleA", "bundleB"]
those being your pages
if you are using donejs this is done for you though :)
Mohamed Cherif Bouchelaghem
@cherifGsoul
Feb 09 2016 22:23
is there a way to use it in traditional static html pages?
@matthewp Im creating speart bundles
Im not using donejs :/
Julian
@pYr0x
Feb 09 2016 22:42
@matthewp how can i ingore jquery from being bundled
the "ingnore" option is not there anymore in the buildoptions