feat: ship creator journey v2 and profile updates
This commit is contained in:
@@ -47,6 +47,13 @@ function manualChunks(id) {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
function shouldIgnoreRollupWarning(warning) {
|
||||
return warning.code === 'MODULE_LEVEL_DIRECTIVE'
|
||||
&& typeof warning.id === 'string'
|
||||
&& warning.id.includes('node_modules')
|
||||
&& warning.id.includes('framer-motion');
|
||||
}
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
laravel({
|
||||
@@ -59,6 +66,7 @@ export default defineConfig({
|
||||
'resources/js/entry-topbar.jsx',
|
||||
'resources/js/entry-search.jsx',
|
||||
'resources/js/entry-masonry-gallery.jsx',
|
||||
'resources/js/entry-similar-artworks-header.jsx',
|
||||
'resources/js/entry-pill-carousel.jsx',
|
||||
'resources/js/upload.jsx',
|
||||
'resources/js/studio.jsx',
|
||||
@@ -74,6 +82,7 @@ export default defineConfig({
|
||||
'resources/js/feed.jsx',
|
||||
'resources/js/leaderboard.jsx',
|
||||
'resources/js/settings.jsx',
|
||||
'resources/js/moderation.jsx',
|
||||
'resources/js/entry-forum.jsx',
|
||||
'resources/js/render-frame.jsx',
|
||||
],
|
||||
@@ -109,6 +118,13 @@ export default defineConfig({
|
||||
|
||||
build: {
|
||||
rollupOptions: {
|
||||
onwarn(warning, warn) {
|
||||
if (shouldIgnoreRollupWarning(warning)) {
|
||||
return;
|
||||
}
|
||||
|
||||
warn(warning);
|
||||
},
|
||||
output: {
|
||||
manualChunks,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user