@swiftwasm/swift-webpack-plugin

1.0.9 • Public • Published

@swiftwasm/swift-webpack-plugin

webpack plugin for Swift

Installation

npm install -D @swiftwasm/swift-webpack-plugin

Usage

Please see example project

const path = require('path');
const SwiftWebpackPlugin = require('@swiftwasm/swift-webpack-plugin')

module.exports = {
  plugins: [
    new SwiftWebpackPlugin({
      packageDirectory: path.join(__dirname, 'LifeGame'),
      target: 'LifeGameWeb',
      dist: path.join(__dirname, "dist")
    }),
  ],
};

Readme

Keywords

none

Package Sidebar

Install

npm i @swiftwasm/swift-webpack-plugin

Weekly Downloads

11

Version

1.0.9

License

MIT

Unpacked Size

219 kB

Total Files

10

Last publish

Collaborators

  • j-f
  • maxd
  • kateinoigakukun