Rename testings.js to context-loader.js

This commit is contained in:
Paulo Gustavo Veiga 2021-10-03 08:11:32 -07:00
parent 32b8f46f66
commit 6395f05d96
2 changed files with 5 additions and 10 deletions

View File

@ -25,14 +25,13 @@ const multiHtmlPlugin = namesHTML.map((name) => {
});
});
/** @type {import('webpack').Configuration} */
module.exports = {
entry: {
testing: './test/playground/testing.js',
testing: './test/playground/context-loader.js',
},
output: {
path: path.resolve(__dirname, 'dist', 'tests'),
filename: 'testing.js',
filename: 'context-loader.js',
publicPath: '/',
},
devServer: {
@ -46,17 +45,13 @@ module.exports = {
rules: [
{
use: 'babel-loader',
test: /.(js|jsx)$/,
test: /.js$/,
exclude: /node_modules/,
},
{
type: 'asset',
test: /\.(png|svg|jpg|jpeg|gif)$/i,
},
}
],
},
resolve: {
extensions: ['.js', '.jsx', '.json'],
extensions: ['.js','.json'],
},
plugins: [
new CleanWebpackPlugin(),