Skip to content

Moving from Webpack to Vite + esbuild#119

Open
ChrisButterworth wants to merge 2 commits into
mainfrom
feature/vite
Open

Moving from Webpack to Vite + esbuild#119
ChrisButterworth wants to merge 2 commits into
mainfrom
feature/vite

Conversation

@ChrisButterworth

Copy link
Copy Markdown

Migrates build tools from Webpack to Vite using esbuild. Build is managed in its own mjs file to run using npm

Also migrates sass build tools from using scripts in package.json to its own build file.

As a bonus, created a custom PostCSS plugin that replaces :root, html, and body with .editor-styles-wrapper so that Gutenberg blocks can be styled better in the editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant