Skip to content

Commit 6817f0f

Browse files
committed
fix: css mime type not loading
1 parent 821aba0 commit 6817f0f

File tree

4 files changed

+5
-18
lines changed

4 files changed

+5
-18
lines changed

dist/CoCreate.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"terser-webpack-plugin": "5.1.0",
5858
"webpack": "^5.24.4",
5959
"webpack-bundle-analyzer": "^4.4.0",
60-
"webpack-cli": "^4.5.0",
60+
"webpack-cli": "^4.6.0",
6161
"webpack-log": "^3.0.1"
6262
},
6363
"dependencies": {
@@ -72,8 +72,8 @@
7272
"@cocreate/conditional-logic": "^1.0.0",
7373
"@cocreate/contenteditable": "^1.0.0",
7474
"@cocreate/crdt": "^1.0.0",
75-
"@cocreate/crud": "^1.0.0",
7675
"@cocreate/croppie": "^1.0.0",
76+
"@cocreate/crud": "^1.0.0",
7777
"@cocreate/cursors": "^1.0.0",
7878
"@cocreate/dnd": "^0.10.0",
7979
"@cocreate/docs": "^1.0.0",

webpack.config.js

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -75,20 +75,8 @@ module.exports = {
7575
}
7676
},
7777
{
78-
test: /\.css$/i,
79-
use: [
80-
{ loader: 'style-loader', options: { injectType: 'linkTag' } },
81-
{
82-
loader: 'file-loader',
83-
// ...isProduction && {
84-
// options: {
85-
// outputPath: version,
86-
// }
87-
// }
88-
}
89-
90-
],
91-
78+
test: /\.css$/,
79+
use: ['style-loader', 'css-loader']
9280
},
9381
]
9482
},

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10086,7 +10086,7 @@ webpack-bundle-analyzer@^4.4.0:
1008610086
sirv "^1.0.7"
1008710087
ws "^7.3.1"
1008810088

10089-
webpack-cli@^4.5.0:
10089+
webpack-cli@^4.6.0:
1009010090
version "4.6.0"
1009110091
resolved "https://registry.yarnpkg.com/webpack-cli/-/webpack-cli-4.6.0.tgz#27ae86bfaec0cf393fcfd58abdc5a229ad32fd16"
1009210092
integrity sha512-9YV+qTcGMjQFiY7Nb1kmnupvb1x40lfpj8pwdO/bom+sQiP4OBMKjHq29YQrlDWDPZO9r/qWaRRywKaRDKqBTA==

0 commit comments

Comments
 (0)