mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2024-11-27 11:59:56 +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',
|
|
},
|
|
},
|
|
},
|
|
],
|
|
},
|
|
};
|