webllm-simple-chat / webpack.config.js
neetnestor's picture
feat: message formatting
c3fc836
raw
history blame
378 Bytes
const path = require('path');
module.exports = {
entry: './src/index.js',
output: {
filename: 'index.js',
path: path.resolve(__dirname, 'dist'),
},
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
},
},
],
},
resolve: {
extensions: ['.js'],
},
};