約164,000件1ページ目

条件を指定して検索しています。すべての条件を解除する

  • 対象とする言語:日本語
  • 2022/12/6 -js. module.exports = { //... webpackFinal: async (config) => { // ... // svg loader 追加 config.module.rules.push({ test: /\.svg$/i, issuer: /\.

    2022/10/15 -svg$/, + use: [ + { + loader: "@svgr/webpack", + }, + ], + }); + return config; + }, + images: { + disableStaticImages: true, // importした画像 ...

    // ./storybook/main.js webpackFinal: async (config) => { ~~ 省略 ~~ config.module.rules.push({ test: /\.svg$/, use: ['@svgr/webpack'], }) return config },.

    2021/9/5 -... @svgr/webpack. next.config.js を作成して以下を記述。 Copied! module.exports = { webpack(config) { config.module.rules.push({ test: /\.svg$/ ...

    Jest はプロジェクト内のコードを JavaScript として実行しますが、Node ... Be aware that node_modules is not transpiled with default config, the ...

    2021/12/1 -svgr.config.js. svgr用の設定ファイルです。今回はとりあえずこれだけ設定しています。typescriptを生成したいのでそちらのオプションと、後述の ...

    2022/4/12 -optionsはnextの場合はnext.config.jsに追記していきます。 SVGタグの中にtitleタグをちゃんと入れたい場合は titleProp: true, と titleId ...

    2019/8/20 -js製のライブラリがあります。 options でsvgoを使用することもできます。 GitHub - svg/svgo: Node.js tool for optimizing SVG files. webpack.config.

    ... ={{__hrml: svg}} />. </div>. ) } } Raw. webpack.config.js. module.exports = {. entry: entries,. output: {. path: dst,. filename: '[name].bundle.js'. } ...

    2022/11/2 -で、vite-svg-loaderをインストールします。 imgタグへのsvgファイル読み込み. つぎに、vite.config.jsをひらき、vite-svg-loaderをimportします。(下 ...