mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
fix: temporary disable auto mock plugin
This commit is contained in:
parent
133b44d3c0
commit
4890205b6e
@ -18,7 +18,7 @@ import { resolvePath, MODULE_DIR } from '../utils'
|
|||||||
import { dynamicRequire } from './plugins/dynamic-require'
|
import { dynamicRequire } from './plugins/dynamic-require'
|
||||||
import { externals } from './plugins/externals'
|
import { externals } from './plugins/externals'
|
||||||
import { timing } from './plugins/timing'
|
import { timing } from './plugins/timing'
|
||||||
import { autoMock } from './plugins/automock'
|
// import { autoMock } from './plugins/automock'
|
||||||
import { staticAssets, dirnames } from './plugins/static'
|
import { staticAssets, dirnames } from './plugins/static'
|
||||||
import { middleware } from './plugins/middleware'
|
import { middleware } from './plugins/middleware'
|
||||||
import { esbuild } from './plugins/esbuild'
|
import { esbuild } from './plugins/esbuild'
|
||||||
@ -179,7 +179,7 @@ export const getRollupConfig = (sigmaContext: SigmaContext) => {
|
|||||||
}))
|
}))
|
||||||
|
|
||||||
// Automatically mock unresolved externals
|
// Automatically mock unresolved externals
|
||||||
rollupConfig.plugins.push(autoMock())
|
// rollupConfig.plugins.push(autoMock())
|
||||||
|
|
||||||
// https://github.com/rollup/plugins/tree/master/packages/commonjs
|
// https://github.com/rollup/plugins/tree/master/packages/commonjs
|
||||||
rollupConfig.plugins.push(commonjs({
|
rollupConfig.plugins.push(commonjs({
|
||||||
|
Loading…
Reference in New Issue
Block a user