We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ea9d74 commit 539fd11Copy full SHA for 539fd11
index.js
@@ -135,6 +135,32 @@ module.exports = {
135
return this;
136
},
137
138
+ /**
139
+ * Adds a custom loader config
140
+ *
141
+ * @param {object} loader The loader config object
142
143
+ * @returns {exports}
144
+ */
145
+ addLoader(loader) {
146
+ webpackConfig.addLoader(loader);
147
+
148
+ return this;
149
+ },
150
151
152
+ * Alias to addLoader
153
154
+ * @param {object} rule
155
156
157
158
+ addRule(rule) {
159
+ this.addLoader(rule);
160
161
162
163
164
/**
165
* When enabled, files are rendered with a hash based
166
* on their contents (e.g. main.a2b61cc.js)
0 commit comments