mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2024-11-23 18:05:54 +03:00
23 lines
402 B
JavaScript
23 lines
402 B
JavaScript
module.exports = {
|
|
entry: {
|
|
main: './templates/index.js',
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.html$/,
|
|
use: ['html-loader'],
|
|
},
|
|
{
|
|
test: /\.(svg|png|jpg|gif)$/,
|
|
use: {
|
|
loader: 'file-loader',
|
|
options: {
|
|
name: '[name].[hash].[ext]',
|
|
outputPath: 'imgs',
|
|
},
|
|
},
|
|
},
|
|
],
|
|
},
|
|
};
|