@cpp.js/plugin-rollup

1.0.2 • Public • Published

@cpp.js/plugin-rollup

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

NPM version License Docs - React Native

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(),
  ]
});

Package Sidebar

Install

npm i @cpp.js/plugin-rollup

Weekly Downloads

18

Version

1.0.2

License

MIT

Unpacked Size

6.62 kB

Total Files

5

Last publish

Collaborators

  • bugra9