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