svelteでfirebaseをimportするとopenDbのエラーが出る時
915 ワード
Error: 'openDb' is not exported by node_modules/idb/build/idb.js
というエラーが出た。
rollup.config.jsのresolveに下記を追記する
export default {
plugins: [
resolve({
mainFields: ['main', 'module'], // ここ
Author And Source
この問題について(svelteでfirebaseをimportするとopenDbのエラーが出る時), 我々は、より多くの情報をここで見つけました https://qiita.com/ahya_emon/items/734eb39997a0911c6f99著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .