diff --git a/config/webpack/loaders/html.js b/config/webpack/modules/html.js similarity index 100% rename from config/webpack/loaders/html.js rename to config/webpack/modules/html.js diff --git a/config/webpack/loaders/html_erb.js b/config/webpack/modules/html_erb.js similarity index 100% rename from config/webpack/loaders/html_erb.js rename to config/webpack/modules/html_erb.js diff --git a/config/webpack/loaders/js.js b/config/webpack/modules/js.js similarity index 100% rename from config/webpack/loaders/js.js rename to config/webpack/modules/js.js diff --git a/config/webpack/loaders/js_erb.js b/config/webpack/modules/js_erb.js similarity index 100% rename from config/webpack/loaders/js_erb.js rename to config/webpack/modules/js_erb.js diff --git a/config/webpack/loaders/sass.js b/config/webpack/modules/sass.js similarity index 100% rename from config/webpack/loaders/sass.js rename to config/webpack/modules/sass.js diff --git a/config/webpack/loaders/sass_erb.js b/config/webpack/modules/sass_erb.js similarity index 100% rename from config/webpack/loaders/sass_erb.js rename to config/webpack/modules/sass_erb.js diff --git a/config/webpack/loaders/ui-tour.js b/config/webpack/modules/ui-tour.js similarity index 100% rename from config/webpack/loaders/ui-tour.js rename to config/webpack/modules/ui-tour.js diff --git a/config/webpack/webpack.config.js b/config/webpack/webpack.config.js index fea60eeb4..3965c872e 100644 --- a/config/webpack/webpack.config.js +++ b/config/webpack/webpack.config.js @@ -2,13 +2,13 @@ const { webpackConfig, merge } = require('shakapacker'); const webpack = require('webpack'); const path = require('path'); -const htmlErb = require('./loaders/html_erb'); -const js = require('./loaders/js'); -const jsErb = require('./loaders/js_erb'); -const sass = require('./loaders/sass'); -const sassErb = require('./loaders/sass_erb'); -const html = require('./loaders/html'); -const uiTour = require('./loaders/ui-tour'); +const htmlErb = require('./modules/html_erb'); +const js = require('./modules/js'); +const jsErb = require('./modules/js_erb'); +const sass = require('./modules/sass'); +const sassErb = require('./modules/sass_erb'); +const html = require('./modules/html'); +const uiTour = require('./modules/ui-tour'); // See the shakacode/shakapacker README and docs directory for advice on customizing your webpackConfig. const customConfig = {