Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.24 KB | None | 0 0
  1. { resolve:
  2.    { extensions: [ '.ts', '.js', '.json', '.less' ],
  3.      modules:
  4.       [ 'C:\\xxx\\yyy-native\\yyy.Frontend\\src',
  5.         'node_modules' ] },
  6.   module:
  7.    { rules:
  8.       [ { test: /\.ts$/,
  9.           loaders:
  10.            [ '@angularclass/hmr-loader?pretty=true&prod=false',
  11.              'awesome-typescript-loader',
  12.              'angular2-template-loader' ],
  13.           exclude: [ /\.(spec|e2e)\.ts$/ ] },
  14.         { test: /\.css$/, loaders: [ 'style-loader', 'css-loader' ] },
  15.         { test: /\.json$/, loader: 'json-loader' },
  16.         { test: /\.html$/,
  17.           loader: 'raw-loader',
  18.           exclude: /\.index.html$/ },
  19.         { test: /\.pack.less$/,
  20.           exclude: /node_modules/,
  21.           loaders: [ 'style-loader', 'css-loader', 'less-loader' ] },
  22.         { test: /\.pack.scss$/,
  23.           exclude: /node_modules/,
  24.           loaders: [ 'style-loader', 'css-loader', 'sass-loader' ] },
  25.         { test: /.(png|jpe?g|woff(2)?|eot|ttf|svg)(\?[a-z0-9=\.]+)?$/,
  26.           loader: 'url?limit=25000' } ] },
  27.   plugins:
  28.    [ ForkCheckerPlugin {},
  29.      ContextReplacementPlugin {
  30.        resourceRegExp: /angular(\\|\/)core(\\|\/)(esm(\\|\/)src|src)(\\|\/)linker/,
  31.        newContentResource: 'C:\\xxx\\yyy-native\\yyy.Frontend\\src',
  32.        newContentRecursive: undefined,
  33.        newContentRegExp: undefined },
  34.      ScriptExtHtmlWebpackPlugin {
  35.        options:
  36.         { inline: [],
  37.           sync: [],
  38.           async: [],
  39.           defer: [],
  40.           defaultAttribute: 'defer',
  41.           module: [],
  42.           removeInlinedAssets: true } },
  43.      LoaderOptionsPlugin { options: { test: { test: [Function] } } },
  44.      ProvidePlugin {
  45.        definitions: { '$': 'jquery', jQuery: 'jquery', 'window.jQuery': 'jquery' } },
  46.      DefinePlugin {
  47.        definitions:
  48.         { ENV: '"development"',
  49.           HMR: false,
  50.           'process.env': { ENV: '"development"', NODE_ENV: '"development"', HMR: false } } },
  51.      NamedModulesPlugin { options: {} },
  52.      LoaderOptionsPlugin {
  53.        options:
  54.         { debug: true,
  55.           options: { tslint: { emitErrors: false, failOnHint: false, resourcePath: 'src' } },
  56.           test: { test: [Function] } } },
  57.      CommonsChunkPlugin {
  58.        chunkNames: [ 'vendor', 'polyfills' ],
  59.        filenameTemplate: undefined,
  60.        minChunks: undefined,
  61.        selectedChunks: undefined,
  62.        async: undefined,
  63.        minSize: undefined,
  64.        ident: 'C:\\xxx\\yyy-native\\yyy.Frontend\\node_modules\\webpack\\lib\\optimize\\CommonsChunkPlugin.js0' },
  65.      { apply: [Function: apply] },
  66.      { apply: [Function: apply] },
  67.      AssetsWebpackPlugin {
  68.        options:
  69.         { path: 'C:\\xxx\\yyy-native\\yyy.Frontend\\dist/cms-login',
  70.           filename: 'webpack-assets.json',
  71.           prettyPrint: true,
  72.           update: false,
  73.           fullPath: true,
  74.           processOutput: [Function] },
  75.        writer: [Function: queuedWriter] },
  76.      HtmlWebpackPlugin {
  77.        options:
  78.         { template: 'src/cms/login.index.html',
  79.           filename: 'index.html',
  80.           hash: false,
  81.           inject: true,
  82.           compile: true,
  83.           favicon: false,
  84.           minify: false,
  85.           cache: true,
  86.           showErrors: true,
  87.           chunks: [ 'polyfills', 'vendor', 'main' ],
  88.           excludeChunks: [],
  89.           title: 'Webpack App',
  90.           xhtml: false,
  91.           chunksSortMode: 'dependency',
  92.           metadata: { isDevServer: true } } } ],
  93.   node:
  94.    { global: true,
  95.      crypto: 'empty',
  96.      process: true,
  97.      module: false,
  98.      clearImmediate: false,
  99.      setImmediate: false },
  100.   devtool: 'cheap-module-source-map',
  101.   output:
  102.    { filename: '[name].bundle.js',
  103.      sourceMapFilename: '[name].map',
  104.      chunkFilename: '[id].chunk.js',
  105.      library: 'ac_[name]',
  106.      libraryTarget: 'var',
  107.      path: 'C:\\xxx\\yyy-native\\yyy.Frontend\\dist/cms-login' },
  108.   devServer:
  109.    { port: 3000,
  110.      host: 'localhost',
  111.      historyApiFallback: true,
  112.      watchOptions: { aggregateTimeout: 300, poll: 1000 },
  113.      outputPath: 'C:\\xxx\\yyy-native\\yyy.Frontend\\dist' },
  114.   entry:
  115.    { polyfills: './src/common/bundles/polyfills.browser.ts',
  116.      vendor: './src/common/bundles/vendor.browser.ts',
  117.      main: [ './src/cms/bundles/login.browser.ts' ] } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement