Skip to content

Commit 61be075

Browse files
authored
Release 8.0.2 (#62)
## What's changed * Update storybook template (#61) * Switch from new_deployment to main branch
2 parents 9a3116b + 1b490b1 commit 61be075

File tree

4 files changed

+3
-10
lines changed

4 files changed

+3
-10
lines changed

config/rspack.config.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,7 @@ module.exports = (webpackEnv, argv) => {
3131
}
3232

3333
const isDevServerOnly = env.dev_server_only?.toLowerCase() === 'true';
34-
const isFastMode = env.fast?.toLowerCase() !== 'false' && isDevServer && !isDevServerOnly;
3534
const isReactRefresh = isDevServer && isEnvDevelopment;
36-
if (isFastMode) {
37-
console.log('Fast mode enabled: disabled sourcemaps, ...');
38-
}
3935

4036
const now = new Date();
4137
const workspacePath = fs.realpathSync(process.cwd());
@@ -96,8 +92,7 @@ module.exports = (webpackEnv, argv) => {
9692
mode,
9793
// Logging noise constrained to errors and warnings
9894
stats: 'errors-warnings', // { logging: 'verbose', timings: true, assets: true },
99-
// eslint-disable-next-line no-nested-ternary
100-
devtool: isFastMode ? 'eval' : isEnvDevelopment ? 'cheap-module-source-map' : 'source-map',
95+
devtool: isEnvDevelopment ? 'cheap-module-source-map' : 'source-map',
10196
// These are the "entry points" to our application.
10297
// This means they will be the "root" imports that are included in JS bundle.
10398
entry: Object.fromEntries(
@@ -369,7 +364,6 @@ module.exports = (webpackEnv, argv) => {
369364
plugins: [
370365
process.env.RSDOCTOR && new RsdoctorRspackPlugin(),
371366
isReactRefresh && new ReactRefreshPlugin(),
372-
// TODO: Enable, but creates a warning right now
373367
new DotenvPlugin({
374368
path: path.join(workspacePath, '.env'), // load this now instead of the ones in '.env'
375369
safe: false, // load '.env.example' to verify the '.env' variables are all set. Can also be a string to a different file.

config/storybook.main.template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @type {import('@storybook/react-webpack5').StorybookConfig}
33
*/
44
module.exports = {
5-
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
5+
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
66
addons: [
77
'@storybook/addon-links',
88
'@storybook/addon-essentials',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "visyn_scripts",
33
"description": "",
4-
"version": "8.0.1",
4+
"version": "8.0.2",
55
"author": {
66
"name": "datavisyn GmbH",
77
"email": "contact@datavisyn.io",

tests_fixtures/standalone_template/src/index.template.ejs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<link href="<%=require('./assets/datavisyn_favicon.png')%>" rel="icon">
99
<meta charset='utf-8'>
1010
<meta name="viewport" content="width=device-width">
11-
<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
1211
</head>
1312

1413
<body>

0 commit comments

Comments
 (0)