UNPKG

rollup-plugin-assemblyscript

Version:

A [Rollup] plugin that allows you to import [AssemblyScript] files and compiles them on-the-fly.

22 lines (20 loc) 359 B
let asc = require("../index.js").asc; export default { input: "main.js", output: { file: "build/main.js", name: "test", format: "umd" }, plugins: [ asc({ fileExtension: ".as", compilerOptions: { optimizeLevel: 3, runtime: "none" //shrinkLevel: 1, //importMemory: true } }) ] };