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

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -