Fix fomantic
This commit is contained in:
parent
405eed0c0f
commit
c56627bfcf
5 changed files with 43 additions and 62 deletions
|
|
@ -45,15 +45,7 @@ export default defineConfig(() => ({
|
|||
navigateFallback: 'index.html',
|
||||
webManifestUrl: '/front/manifest.json'
|
||||
}
|
||||
}),
|
||||
{
|
||||
name: 'fix-fomantic-ui-css',
|
||||
transform (src, id) {
|
||||
if (id.includes('fomantic-ui-css') && id.endsWith('.min.js')) {
|
||||
return `import jQuery from 'jquery';${src}`
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
],
|
||||
server: { port, hmr },
|
||||
resolve: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue