create-stylable-app
Advanced tools
Comparing version
{ | ||
"name": "create-stylable-app", | ||
"version": "4.0.0-alpha.9", | ||
"version": "4.0.0-alpha.10", | ||
"description": "Quickly create a Stylable application", | ||
@@ -40,3 +40,3 @@ "main": "./cjs/index.js", | ||
"license": "BSD-3-Clause", | ||
"gitHead": "de831ebf4bcdb58c2982fbed48f3a01d72433d3b" | ||
"gitHead": "73175a1223e30b7900e26953215abbf9ae297937" | ||
} |
@@ -16,3 +16,3 @@ module.exports = { | ||
'file-loader', | ||
'html-webpack-plugin', | ||
'html-webpack-plugin@next', | ||
'rimraf', | ||
@@ -34,4 +34,4 @@ 'serve', | ||
prebuild: 'npm run clean', | ||
build: 'webpack --mode production --devtool false', | ||
start: 'webpack-dev-server --open', | ||
build: 'webpack --mode production --no-devtool', | ||
start: 'webpack serve --open', | ||
serve: 'serve ./dist', | ||
@@ -38,0 +38,0 @@ lint: 'eslint . -f codeframe', |
const { StylableWebpackPlugin } = require('@stylable/webpack-plugin'); | ||
const HtmlWebpackPlugin = require('html-webpack-plugin'); | ||
/** @type {import('webpack').Configuration} */ | ||
module.exports = { | ||
@@ -23,5 +24,5 @@ mode: 'development', | ||
resolve: { | ||
extensions: ['.ts', '.tsx', '.mjs', '.js', '.json'], | ||
extensions: ['.ts', '.tsx', '.js', '.json'], | ||
}, | ||
plugins: [new StylableWebpackPlugin(), new HtmlWebpackPlugin({ title: 'Stylable App' })], | ||
}; |
52335
0.07%755
0.13%