Quantcast
Channel: JavaScriptMVC Forum
Browsing all 3491 articles
Browse latest View live

Re : Configuring steal to load new type via plugins

Yes thanks, I understand it. I thought that it maybe done via some standard config. Ok, then my second question is important https://forum.javascriptmvc.com/#Topic/32525000001744009

View Article


Re : Systemjs plugin with instantiate without inclusion in build

I'm not positive on what you are asking. If you want to include a plugin in the build output here's the setting: https://github.com/bitovi/steal/blob/master/css.js#L45

View Article


Re : Configuring steal to load new type via plugins

paths is a standard config. It's how you tell the loader the path to a module.  http://stealjs.com/docs/System.paths.html

View Article

Re : Systemjs plugin with instantiate without inclusion in build

I want the plugin to be included, but don't want the files that it loads to be included in build. So this plugin in production should load this file separately Build outputs an error: ERROR: undefined...

View Article

Re : Systemjs plugin with instantiate without inclusion in build

I'm not sure why you're getting that error. Can you make a minimal example that will cause it?

View Article


Re : Systemjs plugin with instantiate without inclusion in build

Well how would you like me to give you an example? Actually to get this you can create any sytem.js type plugin example some.js: exports.instantiate = function(load) {     load.metadata.deps = [];...

View Article

Re : Systemjs plugin with instantiate without inclusion in build

Oh, ok. Why are you setting the format to "some"?  What is the purpose of this?

View Article

Re : Systemjs plugin with instantiate without inclusion in build

It seems not to work without this line.

View Article


Re : error in production.js

what is the different between canjs#minor and  steal#minor compared to what comes packed with JavascriptMVC 3.3. Does migrating to these versions require any changes in code?  I am getting very close...

View Article


Re : Systemjs plugin with instantiate without inclusion in build

You probably need to set the buildType as well to prevent it from being transpiled: https://github.com/bitovi/steal/blob/master/css.js#L44

View Article

Re : Systemjs plugin with instantiate without inclusion in build

I made: exports.buildType = "svg"; exports.includeInBuild = false; It seems it tries to include it in build: Minifying... ERROR: Unexpected token: operator (<) Error

View Article

Re : Systemjs plugin with instantiate without inclusion in build

Any suggestions?

View Article

Re : Systemjs plugin with instantiate without inclusion in build

I thought you did want to include it in the build.  Either way, you probably need to debug it. Can't really tell from the information here. There very well might be a bug somewhere, I don't think...

View Article


Re : Systemjs plugin with instantiate without inclusion in build

What decides if to request and include a module while build process?

View Article

how to build with require iScroll

I'm using iScroll.js (https://github.com/cubiq/iscroll/blob/master/build/iscroll.js) var IScroll = require('bower_components/iscroll/build/iscroll') It works in dev mode, but after build it doesn't....

View Article


Shared config different stealconfigs?

For building apps for different platforms (for example web/mobile) I use separate stealconfig files. I wonder if there is a correctly way to share initial configs for separate config files?

View Article

Re : how to build with require iScroll

is IScroll in your production bundle?

View Article


Re : how to build with require iScroll

Yes I want to include it.

View Article

prevent jquery from being loaded by steal

Hi, I am embedding JMVC v3.3 app inside my html page. The page already has jquery loaded NOT by steal but pulled in through a normal <script src=""></script> tag. When I use steal inside...

View Article

Re : prevent jquery from being loaded by steal

https://forum.javascriptmvc.com/#Topic/32525000001739009

View Article
Browsing all 3491 articles
Browse latest View live