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
[Regression v8 to v9] Example can't import itself anymore. moduleAliases/WebpackConfig.resolve.alias is broken => import or require() statements can be added only by editing a Markdown example file #1310
This was an important feature for us, as it permitted us to use a variable for the name of the package in development, and also it permitted to show proper import of the same module. Very useful because people usually write documentation for the module itself.
Our import are all broken:
This happened in a file (note that $PACKAGE_NAME is a webpackConfig.resolve.alias['$PACKAGE_NAME'] = ${__dirname}/src for the current package), it used to work.
This is what we expect
This is what we have
Could you please tell us what change so now webpackConfig.resolve.alias doesn't permit to inject alias in the context of examples?