mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
Revert "refactor: change ladash-loader to es module"
This reverts commit 90473ce71f
.
This commit is contained in:
parent
90473ce71f
commit
df101461e8
@ -1,7 +1,7 @@
|
|||||||
import _ from 'lodash'
|
const _ = require('lodash')
|
||||||
import loaderUtils from 'loader-utils'
|
const loaderUtils = require('loader-utils')
|
||||||
|
|
||||||
export default function loader(source) {
|
module.exports = function (source) {
|
||||||
if (this.cacheable) {
|
if (this.cacheable) {
|
||||||
this.cacheable()
|
this.cacheable()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user