Comments (7)
I've got this is in my bundles.js, and tried a few dozen combinations.....
"includes": [
"locales/**/*.json!json"
],
"options": {
"inject": false,
"minify": true,
"depCache": false,
"rev": true
}
},```
from bundler.
Hi @ahmedshuhel any suggestions on this one.
Thanks
Tim
from bundler.
@TimBailey-pnk Your snippet looks fine. We are doing:
'app-bundle': {
includes: [
'[./src/app/**/*.js]',
'./src/app/**/*.html!text',
'./src/styles/**/*.css!css',
'./src/translations/**/*.json!json',
...
and it does work. I do note that we are using ./
, but not sure if it makes a difference.
Are your sure that they are not part of your bundle? Do you have the json plugin ("json": "github:systemjs/plugin-json@~0.3.0"
) in your package.json?
from bundler.
Thanks for the reply, I do have the json plugin installed, the 2 differences I can see are that your translations are "under" src whereas mine are at the root, and your translations are going in the main app bundle where I want mine in a seperate (or many seperate) bundles
Cheers
from bundler.
@TimBailey-pnk Do you get any error? Your configuration looks good to me. Just check if the path is correct relative to baseURL
.
from bundler.
I don't get any errors, but i don't get a bundle either. I think its because the baseURL is pointing to /src so trying to make a relative path that pops out of /src just wont work whatever I try.
from bundler.
Closing this issue. The aurelia-bundler
library has been superseded by the aurelia-cli.
from bundler.
Related Issues (20)
- Not able to exclude dependency package given in bundler expression HOT 2
- Bug in bundling resources of private npm packages (containing @) HOT 9
- local package definition missing from bundle when using jspm 0.17.0-beta.40 HOT 17
- Max number of directories to traverse for dependencies? HOT 1
- Bundler collapses multiple SystemJS.config({...}) calls into a single call HOT 1
- Expression with < sign in .html file errors the bundler HOT 2
- Cannot target native async/await HOT 10
- Aurelia Bundler produces invalid sourcemap file and second sourcemap url HOT 2
- Bundling completely broken by #159 HOT 30
- Bundling SystemJS 0.20 app does not find packages HOT 7
- app-bundle.js not fetched when using `gulp serve-bundle` on jspm 0.17 HOT 1
- Not bundling properly when adding a shim for CSS files in JSPM HOT 3
- @progress package cannot be bundled HOT 2
- Unable to find build/tasks path HOT 2
- sourceMappingURL loses a '/' when using remote location for the map files HOT 1
- Allow jspm dependency transpilation during bundling HOT 8
- Bundler not tracing index.js when requiring a folder HOT 7
- Current version? HOT 1
- Bundle JSX HOT 5
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 bundler.