Merge pull request #9759 from brendandahl/win-exclude-path
Fix webpack exclude path on windows.
This commit is contained in:
		
						commit
						c2cbeaa34d
					
				@ -163,7 +163,8 @@ function createWebpackConfig(defines, output) {
 | 
				
			|||||||
      loaders: [
 | 
					      loaders: [
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          loader: 'babel-loader',
 | 
					          loader: 'babel-loader',
 | 
				
			||||||
          exclude: /src\/core\/(glyphlist|unicode)/, // babel is too slow
 | 
					          // babel is too slow
 | 
				
			||||||
 | 
					          exclude: /src[\\\/]core[\\\/](glyphlist|unicode)/,
 | 
				
			||||||
          options: {
 | 
					          options: {
 | 
				
			||||||
            presets: skipBabel ? undefined : ['env'],
 | 
					            presets: skipBabel ? undefined : ['env'],
 | 
				
			||||||
            plugins: ['transform-es2015-modules-commonjs'],
 | 
					            plugins: ['transform-es2015-modules-commonjs'],
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user