separate .babelrc for prod/dev, add babel-plugin-lodash (#2829)
This commit is contained in:
		
							parent
							
								
									cf0b753209
								
							
						
					
					
						commit
						37caf0b36e
					
				
					 4 changed files with 26 additions and 4 deletions
				
			
		|  | @ -1,5 +1,8 @@ | |||
| module.exports = { | ||||
|   test: /\.js(\.erb)?$/, | ||||
|   exclude: /node_modules/, | ||||
|   loader: 'babel-loader' | ||||
|   loader: 'babel-loader', | ||||
|   options: { | ||||
|     forceEnv: process.env.NODE_ENV || 'development' | ||||
|   } | ||||
| } | ||||
|  |  | |||
		Reference in a new issue