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

copy html and css #351

Closed
kargenc opened this issue Feb 23, 2016 · 1 comment
Closed

copy html and css #351

kargenc opened this issue Feb 23, 2016 · 1 comment

Comments

@kargenc
Copy link

kargenc commented Feb 23, 2016

new CopyWebpackPlugin([
{
from: 'src/app//*.html',
to: '/dist/app/'
},
{
from: '/src/app/
/*.css',
to: '/dist/app/'
}
]),

when i try this destination is dist/src/app but i want copy my all src/app html and css to dist/app how can i do that.

@kargenc
Copy link
Author

kargenc commented Feb 23, 2016

i solve like that,

new CopyWebpackPlugin([
{
from: 'src/app',
to: 'app'
}
],{
ignore: [
'*.ts'
]}
),

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