mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 09:21:11 +00:00
6907c81a15
Fixes the missing images in the Logo story. The current method of downloading the images into docs/ui/assets and treating them as static assets (with the start-storybook -s option) could be problematic if that directory is deleted or "cleaned" before the storybook build. Instead, the images are now downloaded into ./storybook/resolve-imports and imported explicitly in the code in Logo.stories.data.js. * ./storybook/resolve-less-imports renamed to resolve-imports * .gitignore is updated to reflect that * Webpack config is updated with the `resolve-imports` path * static option (-s) is removed from npm start script * Images are explicitly imported in Logo.stories.data.js * Type definitions are added for .svg and .png files Change-Id: I242d229242c86a5784d6d4611d0b9c7049712dac
49 lines
533 B
Plaintext
49 lines
533 B
Plaintext
# git-deploy status file:
|
|
/.deploy
|
|
|
|
# Editors
|
|
*.kate-swp
|
|
*~
|
|
\#*#
|
|
.#*
|
|
.*.swp
|
|
.project
|
|
cscope.files
|
|
cscope.out
|
|
## NetBeans
|
|
nbproject*
|
|
project.index
|
|
## Sublime
|
|
sublime-*
|
|
sftp-config.json
|
|
|
|
# Building & testing
|
|
/composer.lock
|
|
/docs
|
|
/node_modules
|
|
/vendor
|
|
|
|
# Operating systems
|
|
## Mac OS X
|
|
.DS_Store
|
|
## Windows
|
|
Thumbs.db
|
|
|
|
# Misc
|
|
.buildpath
|
|
.classpath
|
|
.idea
|
|
.metadata*
|
|
.settings
|
|
/static*
|
|
/tags
|
|
/.htaccess
|
|
/.htpasswd
|
|
.eslintcache
|
|
|
|
# storybook
|
|
/.storybook/resolve-less-imports/
|
|
/.storybook/resolve-imports/
|
|
/.storybook/integration.less
|
|
.vscode
|