wp-blank-scripts 4.0.0-dev-1 → 4.0.0-dev-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/webpack.base.config.js +4 -2
package/package.json
CHANGED
package/webpack.base.config.js
CHANGED
|
@@ -168,11 +168,13 @@ function makeBaseConfig(options) {
|
|
|
168
168
|
];
|
|
169
169
|
|
|
170
170
|
// Admin entries
|
|
171
|
-
const adminScripts = glob.sync(path.join(sourcePath, '
|
|
171
|
+
const adminScripts = glob.sync(path.join(sourcePath, 'admin', '*.js'));
|
|
172
172
|
|
|
173
|
-
const adminStyles = glob.sync(path.join(sourcePath, '
|
|
173
|
+
const adminStyles = glob.sync(path.join(sourcePath, 'admin', '*.scss'));
|
|
174
174
|
const mainStyleVariables = path.join(sourcePath, 'assets', 'css', 'utils', 'variables.scss'); //* Not sure if this is needed.
|
|
175
175
|
|
|
176
|
+
console.log(adminStyles);
|
|
177
|
+
|
|
176
178
|
const blockJsonFiles = [];
|
|
177
179
|
|
|
178
180
|
glob.sync(path.join(sourcePath, 'blocks', '***', '*.json')).forEach((filePath) => {
|