Git Product home page Git Product logo

Comments (7)

TimBailey-pnk avatar TimBailey-pnk commented on June 9, 2024

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.

TimBailey-pnk avatar TimBailey-pnk commented on June 9, 2024

Hi @ahmedshuhel any suggestions on this one.

Thanks
Tim

from bundler.

jp7677 avatar jp7677 commented on June 9, 2024

@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.

TimBailey-pnk avatar TimBailey-pnk commented on June 9, 2024

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.

ahmedshuhel avatar ahmedshuhel commented on June 9, 2024

@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.

TimBailey-pnk avatar TimBailey-pnk commented on June 9, 2024

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.

EisenbergEffect avatar EisenbergEffect commented on June 9, 2024

Closing this issue. The aurelia-bundler library has been superseded by the aurelia-cli.

from bundler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.