trixnity-messenger-playground

A playground for trixnity-messenger based on jetbrains compose-html
git clone git://archive.git.mtrnord.blog/MTRNord/trixnity-messenger-playground.git
Log | Files | Refs | README

webpack-olm.js (381B)


      1 config.resolve = {
      2     fallback: {
      3         crypto: false,
      4         fs: false,
      5         path: false,
      6         stream: false,
      7         os: false,
      8         buffer: false
      9     }
     10 };
     11 
     12 const CopyPlugin = require("copy-webpack-plugin");
     13 config.plugins.push(
     14     new CopyPlugin({
     15         patterns: [
     16             {from: "../../node_modules/@matrix-org/olm/olm.wasm", to: "."},
     17         ],
     18     })
     19 )