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 = {
|
module.exports = {
|
||||||
entry: {
|
entry: {
|
||||||
testing: './test/playground/testing.js',
|
testing: './test/playground/context-loader.js',
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, 'dist', 'tests'),
|
path: path.resolve(__dirname, 'dist', 'tests'),
|
||||||
filename: 'testing.js',
|
filename: 'context-loader.js',
|
||||||
publicPath: '/',
|
publicPath: '/',
|
||||||
},
|
},
|
||||||
devServer: {
|
devServer: {
|
||||||
@ -46,17 +45,13 @@ module.exports = {
|
|||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
use: 'babel-loader',
|
use: 'babel-loader',
|
||||||
test: /.(js|jsx)$/,
|
test: /.js$/,
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
},
|
}
|
||||||
{
|
|
||||||
type: 'asset',
|
|
||||||
test: /\.(png|svg|jpg|jpeg|gif)$/i,
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
extensions: ['.js', '.jsx', '.json'],
|
extensions: ['.js','.json'],
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new CleanWebpackPlugin(),
|
new CleanWebpackPlugin(),
|
||||||
|
Loading…
Reference in New Issue
Block a user