Skip to content

Commit 4c25e18

Browse files
committed
fix(@chromex/core): unable to find constants file
1 parent 949f5d5 commit 4c25e18

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed
File renamed without changes.

packages/core/src/generateIcons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44
const path = require('path');
55
const sharp = require('sharp');
6-
const { ICON_OUTPUT_SIZES } = require('../constants');
6+
const { ICON_OUTPUT_SIZES } = require('./constants');
77
const { dimensionedIconNames } = require('./utils');
88

99
function generateIcons(pathToFile, outputDir) {

packages/core/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ global.__DEV__ = process.env.NODE_ENV === 'development';
33

44
const resolveExtConfig = require('./resolveExtConfig');
55
const generateIcons = require('./generateIcons');
6-
const { PAGE_TYPES, ICON_OUTPUT_SIZES } = require('../constants');
6+
const { PAGE_TYPES, ICON_OUTPUT_SIZES } = require('./constants');
77
const path = require('path');
88
const merge = require('lodash.merge');
99
const ChromexReloaderPlugin = require('@chromex/reloader');

packages/core/src/resolveExtConfig.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const findUp = require('find-up');
22
const path = require('path');
33
const fs = require('fs');
4-
const { PAGE_TYPES } = require('../constants');
4+
const { PAGE_TYPES } = require('./constants');
55
const merge = require('lodash.merge');
66

77
let cachedConfig = null;

0 commit comments

Comments
 (0)