Skip to content

Commit

Permalink
fix modules again
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel-Chris committed Sep 20, 2021
1 parent a51db0b commit f30bbb9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
8 changes: 8 additions & 0 deletions frontend/postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const tailwindcss = require("tailwindcss")

module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
}
}
17 changes: 17 additions & 0 deletions frontend/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,23 @@ module.exports = (webpackConfigEnv, argv) => {
devtool: 'inline-source-map',
devServer: {
historyApiFallback: true,
https: true
},
module: {
rules: [
{
test: /\.css$/i,
use: [
require.resolve("style-loader", {
paths: [require.resolve("webpack-config-single-spa")],
}),
require.resolve("css-loader", {
paths: [require.resolve("webpack-config-single-spa")],
}),
"postcss-loader",
],
},
],
},
});

Expand Down

0 comments on commit f30bbb9

Please sign in to comment.