dfx-ember-webpack-plugin

1.2.1 • Public • Published

dfx-ember-webpack-plugin

Webpack plugin for compiling an EmberJS frontend for the Internet Computer

Installation

npm install dfx-ember-webpack-plugin --save-dev

Usage

Just add this plugin to your configuration.

// webpack.config.js

// ...

const DfxEmberWebpackPlugin = require ('dfx-ember-webpack-plugin');

// ...

module.exports = {
  // ... 
  
  plugins: [
    // This plugin replaces the HtmlWebpackPlugin plugin.
    new DfxEmberWebpackPlugin ({ context: __dirname }),

    // other plugins
  ]
};

Happy Coding!

Package Sidebar

Install

npm i dfx-ember-webpack-plugin

Weekly Downloads

1

Version

1.2.1

License

Apache-2.0

Unpacked Size

15.8 kB

Total Files

5

Last publish

Collaborators

  • onehilltech