Rename directory to es to align with coffee dir

This commit is contained in:
Alasdair Smith 2018-01-12 12:34:04 +00:00
parent dadd74e730
commit 984ecae200
3 changed files with 6 additions and 6 deletions

View file

@ -7,7 +7,7 @@ module.exports = merge(base, {
devtool: 'cheap-module-eval-source-map',
output: {
publicPath: '/public/js/frontend/'
publicPath: '/public/js/es/'
},
devServer: {

View file

@ -1,17 +1,17 @@
const path = require('path')
module.exports = {
// Defines the "entry point" for the application - i.e. the file which
// Defines the "entry point(s)" for the application - i.e. the file which
// bootstraps the application
entry: {
'rich-text': './public/frontend/rich-text.js'
'rich-text': './public/es/rich-text.js'
},
// Define where and how the bundle will be output to disk
// Note: webpack-dev-server does not write the bundle to disk, instead it is
// kept in memory for speed
output: {
path: path.join(__dirname, '/public/js/frontend'),
path: path.join(__dirname, '/public/js/es'),
filename: '[name].js',
@ -24,8 +24,8 @@ module.exports = {
// TODO??
// Defines the external modules which will be stripped out when bundling for
// the rails app. These modules are already loaded in the rails app
// environment, so we strip them out to prevent conflicts.
// the main app. These modules are already loaded in the main app environment,
// so we strip them out to prevent conflicts.
// externals: {},
// Define how file types are handled by webpack