Skip to content

Commit

Permalink
JS Build: Split markdown to own file, updated packages
Browse files Browse the repository at this point in the history
Markdown-related code was growing, representing half of app.js main
bundle code while only being needed in one view/scenario.
This extracts markdown related code to its own built file.
Related to #4858
  • Loading branch information
ssddanbrown committed Apr 8, 2024
1 parent ee40adf commit f5e6f95
Show file tree
Hide file tree
Showing 5 changed files with 419 additions and 335 deletions.
1 change: 1 addition & 0 deletions dev/build/esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const entryPoints = {
app: path.join(__dirname, '../../resources/js/app.js'),
code: path.join(__dirname, '../../resources/js/code/index.mjs'),
'legacy-modes': path.join(__dirname, '../../resources/js/code/legacy-modes.mjs'),
markdown: path.join(__dirname, '../../resources/js/markdown/index.mjs'),
};

// Locate our output directory
Expand Down

0 comments on commit f5e6f95

Please sign in to comment.