File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ export default postcss.plugin(
86
86
result . messages . push ( {
87
87
pluginName,
88
88
type : 'modify-module' ,
89
- modifyModule : ( moduleObj ) => {
89
+ modifyModule ( moduleObj ) {
90
90
// eslint-disable-next-line no-param-reassign
91
91
moduleObj . runtime = `${ moduleObj . runtime } ${ runtimeCode } \n` ;
92
92
@@ -145,7 +145,7 @@ export default postcss.plugin(
145
145
const [ normalizedURL ] = splittedURL ;
146
146
147
147
const requestedURL = urlToRequest ( normalizedURL ) ;
148
- const placeholder = `___CSS_LOADER_IMPORT_URL_PLACEHOLDER___ ${ index } ___ ` ;
148
+ const placeholder = `CSS___IMPORT_URL___ ${ index } ` ;
149
149
150
150
urlNode . value = placeholder ;
151
151
// Strip quotes, they will be re-added if the module needs them
@@ -156,7 +156,7 @@ export default postcss.plugin(
156
156
result . messages . push ( {
157
157
pluginName,
158
158
type : 'modify-module' ,
159
- modifyModule : ( moduleObj , loaderContext ) => {
159
+ modifyModule ( moduleObj , loaderContext ) {
160
160
if ( ! hasURLEscapeRuntimeCode ) {
161
161
// eslint-disable-next-line no-param-reassign
162
162
moduleObj . imports = `var runtimeEscape = require(${ stringifyRequest (
You can’t perform that action at this time.
0 commit comments