Remove javascript folder structure

This commit is contained in:
Paulo Gustavo Veiga 2021-10-02 17:57:29 -07:00
parent 24b3f828e3
commit d53f13efd9
21 changed files with 6 additions and 6 deletions

View File

@ -1,3 +0,0 @@
import { default as web2D } from '../../../lib/web2d';
global.web2d = web2D();

View File

@ -0,0 +1,3 @@
import { default as web2D } from '../../lib/web2d';
global.web2d = web2D();

View File

@ -21,14 +21,14 @@ const multiHtmlPlugin = namesHTML.map((name) => {
return new HtmlWebpackPlugin({
chunks: ['testing'],
filename: `${name}`,
template: `test/javascript/render/${name}.html`,
template: `test/playground/${name}.html`,
});
});
/** @type {import('webpack').Configuration} */
module.exports = {
entry: {
testing: './test/javascript/render/testing.js',
testing: './test/playground/testing.js',
},
output: {
path: path.resolve(__dirname, 'dist', 'tests'),
@ -61,6 +61,6 @@ module.exports = {
},
plugins: [
new CleanWebpackPlugin(),
new HtmlWebpackPlugin({ template: 'test/javascript/render/index.html' }),
new HtmlWebpackPlugin({ template: 'test/playground/index.html' }),
].concat(multiHtmlPlugin),
};