PHP Classes

File: webpack/plugins/index.js

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   WP Vue Kit Plugin   webpack/plugins/index.js   Download  
File: webpack/plugins/index.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WP Vue Kit Plugin
Vue.js plugin to build WordPress user interfaces
Author: By
Last change:
Date: 1 year ago
Size: 384 bytes
 

Contents

Class file image Download
/** * External dependencies. */ const miniCssExtractPlugin = require('mini-css-extract-plugin'); const { VueLoaderPlugin } = require('vue-loader'); const plugins = [ new miniCssExtractPlugin({ filename: '../css/main.css', }), new VueLoaderPlugin(), ]; if (process.env.NODE_ENV === 'development') { plugins.push(require('./browser-sync')); } module.exports = plugins;