From 2ffe16947833187ef62fbd3e03a087c642163532 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Tue, 15 Mar 2022 09:51:39 +0100 Subject: [PATCH] renamed folder loaders to modules --- config/webpack/{loaders => modules}/html.js | 0 config/webpack/{loaders => modules}/html_erb.js | 0 config/webpack/{loaders => modules}/js.js | 0 config/webpack/{loaders => modules}/js_erb.js | 0 config/webpack/{loaders => modules}/sass.js | 0 config/webpack/{loaders => modules}/sass_erb.js | 0 config/webpack/{loaders => modules}/ui-tour.js | 0 config/webpack/webpack.config.js | 14 +++++++------- 8 files changed, 7 insertions(+), 7 deletions(-) rename config/webpack/{loaders => modules}/html.js (100%) rename config/webpack/{loaders => modules}/html_erb.js (100%) rename config/webpack/{loaders => modules}/js.js (100%) rename config/webpack/{loaders => modules}/js_erb.js (100%) rename config/webpack/{loaders => modules}/sass.js (100%) rename config/webpack/{loaders => modules}/sass_erb.js (100%) rename config/webpack/{loaders => modules}/ui-tour.js (100%) 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 = {