fix(tailwind): Missed some changes when upgrading to tailwind 2.x

This commit is contained in:
Erik Ziegler committed 2021-07-29 15:51:53 +02:00
1 parent 3220af737c
commit 9b013dd38d
12 files changed
+34 -20

No files matched your search

+7
View File
@@ -36,6 +36,13 @@ module.exports = (env, argv) => {
path: DIST_DIR,
filename: isProdBuild ? '[name].bundle.[chunkhash].js' : '[name].js',
publicPath: PUBLIC_URL, // Used by HtmlWebPackPlugin for asset prefix
devtoolModuleFilenameTemplate: function(info) {
if (isProdBuild) {
return `webpack:///${info.resourcePath}`;
} else {
return 'file:///' + encodeURI(info.absoluteResourcePath);
}
},
},
resolve: {
modules: [