Add cursors to example

This commit is contained in:
Andras Schmelczer 2025-07-10 22:14:15 +01:00
parent 9c79ebc653
commit f73cd057be
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
5 changed files with 243 additions and 41 deletions

View file

@ -7,7 +7,7 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
module.exports = (_env, argv) => ({
devtool: argv.mode === 'development' ? 'inline-source-map' : false,
entry: {
index: './index.ts',
index: './src/index.ts',
},
devServer: {
allowedHosts: 'all',
@ -31,7 +31,7 @@ module.exports = (_env, argv) => ({
},
plugins: [
new HtmlWebpackPlugin({
template: './index.html',
template: './src/index.html',
}),
new MiniCssExtractPlugin(),
argv.mode === 'production'