Skip to content

onehilltech/dfx-ember-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 must come before the HtmlWebpackPlugin plugin.
    new DfxEmberWebpackPlugin ({ context: __dirname }),

    // other plugins
  ]
};

Happy Coding!

About

Webpack plugin for compiling an EmberJS frontend for the Internet Computer

Resources

Stars

Watchers

Forks

Packages

No packages published