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

dist is notworking #174

Closed
gmchaturvedi1 opened this issue Dec 20, 2015 · 4 comments
Closed

dist is notworking #174

gmchaturvedi1 opened this issue Dec 20, 2015 · 4 comments

Comments

@gmchaturvedi1
Copy link

hello friend
i am new to webpack and angular2
can someone help for production
because when i run command
npm run build and copy index.html and those file in one folde is notworing
but my js file is not working

@OverclockedTim
Copy link

I'm sure there are a million ways to fix this. I got it working by changing the webpack config to output the build files into /src/public/ instead of /public/ and then deploying out of /src/public

@PatrickJS
Copy link
Owner

I'm working on a new build config to make this more clear

@manavsehgal
Copy link

I tried copying __build__ folder and contents of /src/public/ into a separate folder for production run from a single folder. Most PaaS/Cloud deploy CLI require single folder as source for deploy. This needs to be part of build:prod within the starter, rather than an external hack (smiles).

@PatrickJS
Copy link
Owner

done via cf4b3f2...master

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

4 participants