Closed bahlo closed 8 years ago
Exclude bootstrap folder from test: /\.js$/
javascript
{
test: /.js$/,
loader: 'eslint',
include: projectRoot,
exclude: [
/node_modules/,
--path-to-bootstrap-folder--
]
}
Thank you, Gowrav, I'll try that tomorrow - feel free to close this for now. 👍
Am 14.06.2016 um 21:11 schrieb Gowrav Shekar notifications@github.com:
Exclude bootstrap folder from test: /.js$/
{ test: /.js$/, loader: 'eslint', include: projectRoot, exclude: [ /node_modules/, --path-to-bootstrap-folder-- ] } — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
It works, thank you - I'm still getting started with WebPack 👌🙈
Hello,
first: Thanks for creating this library, it works like a charm.
I created a
bootstrap.config.js
in__dir/src/bootstrap/bootstrap.config.js
with the example contents and updated mywebpack.base.conf.js
to the following:When I build the app, I get the following error:
So it seems he can't find
eslint-loader
or thebootstrap.config.js
, but both files exist. Plus when I get syntax errors on the file (when I remove the=
, i getUnexpected token {
).I also tried prepending
!
,!!
and-!
but with not effects.Any idea how to handle this? Thanks in advance! :+1: