mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-16 02:44:51 +00:00
12 lines
261 B
TypeScript
12 lines
261 B
TypeScript
|
import { SigmaPreset, SigmaContext } from '../context'
|
||
|
|
||
|
export const worker: SigmaPreset = {
|
||
|
entry: null, // Abstract
|
||
|
node: false,
|
||
|
hooks: {
|
||
|
'sigma:rollup:before' ({ rollupConfig }: SigmaContext) {
|
||
|
rollupConfig.output.format = 'iife'
|
||
|
}
|
||
|
}
|
||
|
}
|