Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sources from src/main/public are optimized. #50

Open
dozed opened this issue Dec 10, 2014 · 0 comments
Open

Sources from src/main/public are optimized. #50

dozed opened this issue Dec 10, 2014 · 0 comments

Comments

@dozed
Copy link

dozed commented Dec 10, 2014

Say I have the following directory structure:

src
└── main
    ├── assets
    │   └── js
    │       └── main.js
    └── public
        └── js
            └── other.js

When running web-stage, the file other.js is also optimized:

> web-stage
[info] Optimizing JavaScript with RequireJS
[info] 
[info] Tracing dependencies for: main
[info] Uglify2 file: ./target/web/rjs/build/js/main.js
[info] Uglify2 file: ./target/web/rjs/build/js/other.js

Is this intended like this? I would have expected that all resources from src/main/public are just copied over to target/web/stage and not go through the asset pipeline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant