2.0.5 • Published 10 months ago

@place-framework/place-webpack-preset v2.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

PLACE Framework Header

PLACE Webpack Preset

PLACE Framework Ecosystem Diagram

Introduction

The premise of this preset is to have a solid jumpoff point with the PLACE Framework. It comes with the framework paths included through proper loaders built in for compilation, but needs the framework as a dependency in your root project. Please see the PLACE Vue Starter for an example.

Implementation

The PLACE Webpack Preset is constructed as a JS class, with options for merging and layering your own config through the config key. For example:

module.exports = (env) => {
	const PlaceWebpackPreset = require('@place-framework/place-webpack-preset');

	return new PlaceWebpackPreset({
		config: require('./webpack.your.config'),
		env
	});
};