diff --git a/package.json b/package.json index f94c67d9..897ee4b9 100644 --- a/package.json +++ b/package.json @@ -29,8 +29,8 @@ "start": "webpack --progress --watch --display-error-details --display-reasons --mode development", "build": "webpack --progress --mode production", "blocksExample": "cp -R ./node_modules/@eightshift/frontend-libs/blocks/init/src/blocks/custom/example ./src/blocks/custom/ && composer dump-autoload", - "storybookBuild": "build-storybook -c .storybook -o storybook", - "storybook": "start-storybook -s .storybook" + "storybookBuild": "build-storybook -s public -o storybook", + "storybook": "start-storybook -s public" }, "devDependencies": { "husky": "^3.0.9", diff --git a/webpack.config.js b/webpack.config.js index 733f665d..4ba6f52c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -4,7 +4,7 @@ * This is a main entrypoint for Webpack config. * All the settings are pulled from node_modules/@eightshift/frontend-libs/webpack. * We are loading mostly used configuration but you can always override or turn off the default setup and provide your own. - * Please refere to Eigthshift-libs wiki for details. + * Please referer to Eightshift-libs wiki for details. * * @since 4.0.0 Moved to eightshift-libs. * @since 1.0.0 @@ -14,15 +14,11 @@ module.exports = (env, argv) => { const projectConfig = { config: { projectDir: __dirname, // Current project directory absolute path. - projectUrl: 'dev.boilerplate.com', // Used for providing browsersync functionality. + projectUrl: 'dev.eightshift-internal.com', // Used for providing browsersync functionality. projectPath: 'wp-content/themes/eightshift-boilerplate', // Project path relative to project root. }, }; // Generate webpack config for this project using options object. - const project = require('./node_modules/@eightshift/frontend-libs/webpack')(argv.mode, projectConfig); - - return { - ...project, - }; + return require('./node_modules/@eightshift/frontend-libs/webpack')(argv.mode, projectConfig); };