Comments (4)
A good place to start is https://github.com/jspm/jspm-cli/wiki/Production-Workflows if you haven't read that already.
Your setup looks fine to me. You may want to install your plugins with easier names perhaps:
jspm install css image json text
So that the requires are easier - import 'file.json!'
instead of import file.json!plugin-json'
.
CSS is not currently bundled with jspm, although that's on the list to do soon. See #12 to follow the progress.
from builder.
Thank you for your time Guy. All this work you're doing is incredible. I might be having a few teething problems (I'm actually a designer at heart, with a big passion for code) but I can see how many benefits JSPM/SystemJS brings to the table.
I got up early this morning to try and work out some of these problems I was having, finally realising I should of been using jspm bundle-sfx main build/app.js --minify
and that worked great, but yes, then realised my CSS wasn't getting bundled with it. I will be keeping a close eye on this support as that looks like the final piece of the puzzle for me.
Thank you for all your hard work!
from builder.
Great to hear that, help ironing out teething issues is really appreciated. Do let me know if you hit anything else.
from builder.
Production workflow documentation has moved https://github.com/jspm/jspm-cli/blob/master/docs/production-workflows.md
from builder.
Related Issues (20)
- Build using existing System.register bundles
- Avoid regenerating bundles that haven't changed HOT 1
- systemJs builder buildStatic doesn't seem to do rollup
- Running the builder in the browser? HOT 2
- Overlapping content in sourcemaps when using builder arithmetic. HOT 1
- Plugin/Module not registered correctly after transpiling to ES5
- Incorrect sourcemap paths on Windows HOT 3
- Can't bundle tree with addition HOT 1
- Shared chunks HOT 1
- Sourcemap issue with beta.48 HOT 5
- Bundle Arithmetic doesn't seem to be working properly HOT 1
- Bundle doesn't work
- Calling builder.trace with 'externals' in options throws error.
- Unable to resolve version 0.0.25/plugin-babel.js for systemjs-plugin-babel HOT 1
- How to fix 'Paths configuration XXX uses wildcards which are being deprecated for just leaving a trailing "/" to indicate folder paths.' and how to fix 'defaultJSExtensions configuration option is deprecated ...'
- How to fix 'defaultJSExtensions configuration option is deprecated ...'
- Upgrade to terser
- [issue]considering support jsx in Vue? HOT 1
- In-memory buildstatic issue HOT 1
- How can I load the remote file with Builder? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from builder.