mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-25 23:54:55 +01:00
Rename testings.js to context-loader.js
This commit is contained in:
parent
32b8f46f66
commit
6395f05d96
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user