Skip to content

Commit

Permalink
Merge pull request #60 from MaddyGuthridge/maddy-fix-atlaskit
Browse files Browse the repository at this point in the history
Fix imports for @atlaskit/pragmatic-drag-and-drop
  • Loading branch information
MaddyGuthridge authored Feb 3, 2025
2 parents 6508058 + b105018 commit b5719cd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "minifolio",
"version": "1.0.0",
"version": "1.0.1",
"private": true,
"license": "GPL-3.0-only",
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ import dotenv from 'dotenv';
dotenv.config();

export default defineConfig({
ssr:{
noExternal: [
// Workaround for broken import when running production build
// https://github.com/atlassian/pragmatic-drag-and-drop/issues/27#issuecomment-2615335498
"@atlaskit/pragmatic-drag-and-drop",
]
},
server: {
port: parseInt(process.env.PORT as string),
strictPort: true,
Expand Down

0 comments on commit b5719cd

Please sign in to comment.