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

tempPath parameter in Neon is not taken in css and js section separately #120

Open
ajaxovic opened this issue Feb 4, 2016 · 2 comments
Open

Comments

@ajaxovic
Copy link

ajaxovic commented Feb 4, 2016

In Neon config:

webloader:
     css:
        default:
            tempDir: 'css/min'
            tempPath: 'css/min'
            files:
                - %wwwDir%/css/style.css
    js:
        default:
            tempDir: 'js/min'
            tempPath: 'js/min'
            files:
                - %wwwDir%/js/script.js

this will result into this urls is final html file:

<link rel="stylesheet" type="text/css" href="/mypages/www/js/min/cssloader-739f22122081.css">
<script type="text/javascript" src="/mypages/www/js/min/jsloader-e6ef6ebcc598.js"></script>

Problem is, that css want to download from js folder.

@fprochazka
Copy link
Collaborator

I see. Can you please send a PR with fix?

@ajaxovic
Copy link
Author

ajaxovic commented Feb 7, 2016

My programming skills are too far from even thinking about sending any pull request. Sorry...

Edit: OK, I tried. I did pull request fixing this issue. I hope I didn't do any mess..

ajaxovic added a commit to ajaxovic/WebLoader that referenced this issue Feb 7, 2016
- When tempPath was set in neon in JS and CSS section, first occurrence was
  overwritten by last occurrence.
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

2 participants