Skip to content

Commit

Permalink
Restructures the assets directory
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverharrison committed Oct 6, 2022
1 parent e0a8412 commit 3368e6c
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 11 deletions.
3 changes: 2 additions & 1 deletion assets/admin.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
import './admin-styles.scss';
// Entry point for Webpack compilation.
import './global-styles/admin-styles.scss';
3 changes: 2 additions & 1 deletion assets/frontend.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
import './frontend-styles.scss';
// Entry point for Webpack compilation.
import './global-styles/frontend-styles.scss';
File renamed without changes.
File renamed without changes.
Empty file.
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
const fs = require( 'fs' );

const directoryFiles = [ `./assets/editor-styles/*.scss` ];

const directoryFiles = [
`./assets/editor-styles/*.scss`,
];
module.exports = {
presets: [
fs.existsSync( global.themePreset )
Expand All @@ -12,10 +10,10 @@ module.exports = {
],
content: directoryFiles,
theme: {
extend: {},
extend: {},
},
variants: {
extend: {},
extend: {},
},
plugins: [],
}
};
Empty file.
4 changes: 1 addition & 3 deletions webpack.global.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,5 @@ module.exports = {
},
],
},
plugins: [
new MiniCssExtractPlugin(),
],
plugins: [ new MiniCssExtractPlugin() ],
};

0 comments on commit 3368e6c

Please sign in to comment.