Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: rust plugin usage #1269

Merged
merged 35 commits into from
Jul 8, 2024
Merged

feat: rust plugin usage #1269

merged 35 commits into from
Jul 8, 2024

Conversation

callqh
Copy link
Member

@callqh callqh commented Apr 30, 2024

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 callqh added the WIP work in progress label Apr 30, 2024
Copy link

changeset-bot bot commented Apr 30, 2024

🦋 Changeset detected

Latest commit: 013a2be

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

@callqh callqh removed the WIP work in progress label Apr 30, 2024
@callqh callqh requested a review from wre232114 April 30, 2024 10:00
rust-plugins/react/index.js Outdated Show resolved Hide resolved
@wre232114 wre232114 merged commit 385e5b2 into farm-fe:main Jul 8, 2024
31 checks passed
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.

Normalize usage of rust plugins and js plugins
2 participants