Skip to content
Snippets Groups Projects
Select Git revision
  • bc28246bb2a44a3291ffb2440a6395fef07cd151
  • master default protected
  • github/fork/hrani/master
  • github/fork/dilawar/master
  • chamcham
  • chhennapoda
  • wheel
  • 3.2.0-pre0
  • v3.1.3
  • 3.1.2
  • 3.1.1
  • chamcham-3.1.1
  • 3.1.0
  • ghevar_3.0.2_pre2
  • ghevar_3.0.2
15 results

Ksolve.h

Blame
  • webpack.common.js 899 B
    const webpack = require('webpack')
    const path = require('path')
    
    module.exports = {
      module : {
        rules : [
          {
            test : /\.ts$/,
            loaders : ['ts-loader','angular2-template-loader?keepUrl=true'],
            exclude : /node_modules|[Ss]pec\.ts$/
          },
          {
            test : /third_party|.*?worker.*?\.js$/,
            use : {
              loader : 'file-loader',
              options: {
                name : '[name].[ext]'
              }
            }
          }
        ]
      },
      plugins : [
        new webpack.ContextReplacementPlugin(/@angular(\\|\/)core(\\|\/)/,path.join(__dirname,'src'))
      ],
      resolve : {
        extensions : [
          '.ts',
          '.js',
          '.json'
        ],
        alias : {
          "third_party" : path.resolve(__dirname,'third_party'),
          "src" : path.resolve(__dirname,'src'),
          "common": path.resolve(__dirname, 'common'),
          "spec": path.resolve(__dirname, 'spec')
        }
      },
    }