You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Minor Changes
10df8bb#619 Thanks @marvinhagemeister! - Deprecate "aliases" configuration in favor of "alias" to have a consistent name across various frontend tools. The "aliases" property will continue to work, but a deprecation warning will be printed to the console.
d907131#552 Thanks @marvinhagemeister! - Add support for importing files outside of the main public directory. This feature is based on aliases and <project>/src is added by default. To prevent unexpected file access only the directories defined in the aliases and the public directory are allowed to read files from. To alias a new path add the following to your WMR configuration file:
// File: wmr.config.mjsimport{defineConfig}from'wmr';exportdefaultdefineConfig({alias: {// This will alias "~" to "<project>/src/components/"'~/*': './src/components/'}});