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
You need to copy the assets folder to the dist folder for that you can try this out. This is how i did it and achieved the desired. npm install copy-webpack-plugin
In your webpack-umd.config.ts file make below changes:-
import * as CopyWebpackPlugin from 'copy-webpack-plugin';
add below to your plugins
plugins: [
new CopyWebpackPlugin([
{ from: './src/assets', to: './assets' },
])
]
How can I include assets like images in library, and use them for img src ?
The text was updated successfully, but these errors were encountered: