Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • ebrains-7.0-rc1-fixup1
  • ebrains-7.0-rc1-fixup2
  • ebrains-7.0-rc1-fixup3
  • ebrains-8.0-a1
  • ebrains-8.0-a2
  • ebrains-8.0-a3
  • ebrains-8.0-a4
  • ebrains-8.0-a5
  • paper-mc-sbi
  • ebrains-7.0-rc1
  • ebrains-7.0-rc1-hotfix1
  • paper-mc-genetic
  • ebrains-4.0-rc1-fixup1
  • ebrains-4.0-rc1-fixup2
  • ebrains-6.0-a1
  • ebrains-6.0-rc1
  • ebrains-6.0-rc2
  • ebrains-7.0-a1
  • ebrains-4.0-rc2
  • ebrains-5.0-rc1
21 results

CMakeLists.txt

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')
        }
      },
    }