Skip to content

davidturissini/lwc-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LWC Webpack Plugin

Usage

// webpack.config.js
const path = require('path');
const LWCWebpackPlugin = require('lwc-webpack-plugin');

module.exports = {
    plugins: [
        new LWCWebpackPlugin({
            namespace: {
                // LWC Namespace with path
                mynamespace: path.resolve('./src/modules/mynamespace')
            },
            // NPM modules
            modules: [
                '@salesforce-ux/design-system'
            ]
        }),
    ]
}

About

Webpack Plugin for LWC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •