farm icon indicating copy to clipboard operation
farm copied to clipboard

feat: rust plugin usage

Open callqh opened this issue 9 months ago • 1 comments

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

callqh avatar Apr 30 '24 03:04 callqh

🦋 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

changeset-bot[bot] avatar Apr 30 '24 03:04 changeset-bot[bot]