Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue-components: some infrastructure improvements #124

Merged
merged 2 commits into from
Aug 10, 2020

Conversation

wiese
Copy link
Contributor

@wiese wiese commented Aug 7, 2020

Based on #123

This also uses the path alias for src/ (recently added to
webpack.config.js) and ensures that the returned stories are in proper
shape.
Copy link
Member

@jakobw jakobw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Made a suggestion inline, but it's not blocking.

module.exports = {
overrides: [
{
files: [ 'preview.js' ],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm again a little confused by the blurred lines between run time and build time in storybook. If I'm not mistaken, preview.(j|t)s is actually executed at run time, so I'd rather remove this .eslintrc.js entirely, and just rename preview.js -> preview.ts and not bother specifying additional rules for run time .js files.

@tzhelyazkova tzhelyazkova merged commit 039e878 into rm-vue-dummy Aug 10, 2020
@tzhelyazkova tzhelyazkova deleted the stories-ts branch August 10, 2020 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants