farm
farm copied to clipboard
feat: rust plugin usage
Description: Make the rust plugin and the js plugin consistent in the way they are used, with type hints.
import react from '@farmfe/plugin-react';
import farmSassPlugin from '@farmfe/js-plugins-sass';
export default defineConfig({
plugins: [
react({}),
farmSassPlugin({
// globals: ['./src/variables.scss']
})
],
});
BREAKING CHANGE:
Related issue (if exists): close #1213
🦋 Changeset detected
Latest commit: 013a2be1876ac066464dfa9dd0623e15f823568a
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 4 packages
Name | Type |
---|---|
create-farm-plugin | Patch |
@farmfe/plugin-react | Patch |
@farmfe/plugin-sass | Patch |
@farmfe/core | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR