1.0.0-beta.2 • Published 10 months ago

@cpp.js/plugin-rollup v1.0.0-beta.2

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@cpp.js/plugin-rollup

Cpp.js Rollup plugin
A tool for seamless C++ integration with the Rollup bundler.

Integration

To integrate cpp.js into your project using Rollup as a bundler, you can utilize the @cpp.js/plugin-rollup plugin. Start by installing these package with the following command:

npm install @cpp.js/plugin-rollup --save-dev

To enable the plugin, modify the vite.config.js file as shown below.

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
+ import rollupCppjsPlugin from '@cpp.js/plugin-rollup'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
+   rollupCppjsPlugin(),
  ]
});
1.0.0-beta.2

10 months ago