Webpack - cannot exclude directory -
i cannot exclude directory, web pack regex dont make sens
i have folder called "ignore", tried /ignore/, /^ignore/ /ignore(.+)?$/ , many more
it not help, webpack takes directory rest of project driving me nuts, checked on many other forums, given solutions either not work , or not make sens
config.module = { rules: [ // support .ts files. { test: /\.ts$/, loaders: ['awesome-typescript-loader?' + atloptions, 'angular2-template-loader', '@angularclass/hmr-loader'], exclude: [istest ? /\.(e2e)\.ts$/ : /\.(spec|e2e)\.ts$/, /node_modules\/(?!(ng2-.+))/, /ignore(.+)?$/] },
it shoudl simple, can me out on ?
thanks
Comments
Post a Comment