0.2.2 • Published 12 months ago

malinajs-unplugin v0.2.2

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

malinajs-unplugin

install size npm version

Usage

Vite

//vite.config.ts

import { defineConfig } from "vite";
import { vitePlugin as malinaPlugin } from "malinajs-unplugin";

export default defineConfig(({ mode }) => ({
  plugins: [
    malinaPlugin({
      debugLabel: mode === "development",
    }),
  ],
}));

Webpack

//webpack.config.js
const { webpackPlugin: malinaPlugin } = require("malinajs-unplugin");

module.exports = {
  plugins: [malinaPlugin()],
};

Caution

Be careful when using with Vite: the html extension will not work

As stated in the malinajs documentation, you can import 'malinajs' as 'malinajs/runtime'. Using unplugin, you cannot do this. Read more in the issue

0.2.1

12 months ago

0.2.0

12 months ago

0.2.2

12 months ago

0.1.0

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.14

2 years ago

0.0.10

3 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.5

3 years ago

0.0.6

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago