Skip to content

Commit 19fa218

Browse files
committed
review webpack
1 parent 5db502b commit 19fa218

File tree

2 files changed

+6
-208
lines changed

2 files changed

+6
-208
lines changed

packages/tdb-documents-ui/webpack.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
const path = require('path');
22
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
3+
const CopyWebPackPlugin= require("copy-webpack-plugin");
34

45
module.exports = {
56
mode: 'production',
@@ -18,7 +19,11 @@ module.exports = {
1819
plugins: [
1920
new MiniCssExtractPlugin({
2021
filename: 'terminusdb-documents-ui-main.css',
21-
})
22+
}),
23+
new CopyWebPackPlugin({
24+
patterns: [
25+
{ from: path.resolve(__dirname, "./src/css/"), to: "css/", force:true }
26+
]})
2227
],
2328
module: {
2429
rules: [

packages/tdb-react-table/src/hook/ControlledGraphqlQuery.js

Lines changed: 0 additions & 207 deletions
This file was deleted.

0 commit comments

Comments
 (0)