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

Multi-app build

So if I have app1 and app2 that have common part, currently it is not possible to build like it was in old steal (app1, app2, app1-app2)? When you are planning to add this?

View Article



Re : Using System.js vs Steal.js

?

View Article

How to exclude modules from build?

How to exclude modules from build using new steal? (like jquery for example and load it separately)

View Article

Re : How to exclude modules from build?

There currently isn't a good way of doing this.  However, it will be fairly easy to implement.  Ideally, it should work on the meta config like: System.meta['jquery] = {bundled: false} This can work in...

View Article

Re : Using System.js vs Steal.js

Currently, mustache templates are pre-compiled which does speed up application load times.  We've experienced apps with 20-30 templates and the processing time was taking about 200ms. However, stache...

View Article


Re : Multi-app build

Not sure.  Hopefully soon.  Can you create an issue?  I think we just need to allow main: ["app1","app2"].  For some reason I feel like I already started this.

View Article

Re : Using System.js vs Steal.js

Ok, thanks

View Article

StealJS: wait for main to load

If I have on the page <script src="/bower_components/steal/steal.js" main="app/component/my-component/" config="/stealconfig.js"></script> Is it possible to wait for...

View Article


Re : StealJS: wait for main to load

This is actually the same as how to wait when stealconfig is loaded ?

View Article


Re : StealJS: wait for main to load

The config is a module just like any other.  You can do: System.import("@config").then(function() { ....

View Article

Re : Multi-app build

You did write this already Justin. Here's a test: https://github.com/bitovi/steal-tools/tree/master/test/multi-main

View Article

Re : Multi-app build

Ah, so it already works.  It just needs to be documented.

View Article

Steal build can not find less imports

In my less files I have an @import directives with path relative to steal root folder: @import '/styles/imports/variables'; the same result for @import 'styles/imports/variables'; so styles folder is...

View Article


traceur runtime is included if there are LESS dependencies (no ES6)

traceur-runtime is included in build when there is LESS files that should be build, not no any ES6 modules. (so if remove less dependencies it builds without) traceur-runtime. Is it a bug?

View Article

Re : Steal build can not find less imports

The solution for this maybe add baseURL in the path option of lessParser.

View Article


Steal build: error [TypeError: "$css" already loading] TypeError: "$css"...

I've got an error while build error [TypeError: "$css" already loading] TypeError: "$css" already loading Couldn't figure out what exact configuration causes it. But it happens if one of the modules...

View Article

Re : error in production.js

Currently you can you new steal only with canjs#minor, I would aslo advice you to use steal#minor and steal-toos#minor.

View Article


Configuring steal to load new type via plugins

I have a plugin for loading a say images it is located pluginfolder/image.js I want to load a file with name some.png using this plugin require('some.png!image') How should I configure steal to load it...

View Article

Systemjs plugin with instantiate without inclusion in build

I want to load some type of file dynamically excute some action but include it in build. exports.instantiate = function(load) {     load.metadata.deps = [];     load.metadata.execute = function(){...

View Article

Re : Configuring steal to load new type via plugins

It's important to understand what is happening here. When you do: require('some.png!image') You are telling steal to load the module "some.png" using the plugin "image".  "image" is a module name, just...

View Article
Browsing all 3491 articles
Browse latest View live




Latest Images