Skip to content

Commit

Permalink
chore: ECL release 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
planctus committed May 17, 2022
1 parent 3af9e5c commit 3c1124d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
9 changes: 6 additions & 3 deletions src/playground/ec/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
const path = require('path');
const webpack = require('webpack');

const isProd = process.env.NODE_ENV === 'production';
const outputFolder = isProd ? 'dist' : 'build';

const publicUrl = process.env.PUBLIC_URL || '';
const stories = ['../../../implementations/twig/**/!(eu*).story.js'];

Expand All @@ -16,9 +19,9 @@ const addons = [
];

const staticDirs = [
path.resolve(`${__dirname}/../../../presets/ec/build`),
path.resolve(`${__dirname}/../../../presets/reset/build`),
path.resolve(`${__dirname}/../../../presets/rtl/build`),
path.resolve(`${__dirname}/../../../presets/ec/${outputFolder}`),
path.resolve(`${__dirname}/../../../presets/reset/${outputFolder}`),
path.resolve(`${__dirname}/../../../presets/rtl/${outputFolder}`),
];

const webpackFinal = (config) => {
Expand Down
9 changes: 6 additions & 3 deletions src/playground/eu/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
const path = require('path');
const webpack = require('webpack');

const isProd = process.env.NODE_ENV === 'production';
const outputFolder = isProd ? 'dist' : 'build';

const publicUrl = process.env.PUBLIC_URL || '';
const stories = ['../../../implementations/twig/**/!(ec*).story.js'];

Expand All @@ -16,9 +19,9 @@ const addons = [
];

const staticDirs = [
path.resolve(`${__dirname}/../../../presets/eu/build`),
path.resolve(`${__dirname}/../../../presets/reset/build`),
path.resolve(`${__dirname}/../../../presets/rtl/build`),
path.resolve(`${__dirname}/../../../presets/eu/${outputFolder}`),
path.resolve(`${__dirname}/../../../presets/reset/${outputFolder}`),
path.resolve(`${__dirname}/../../../presets/rtl/${outputFolder}`),
];

const webpackFinal = (config) => {
Expand Down

0 comments on commit 3c1124d

Please sign in to comment.