@keadex/mina-live
Version:
Web porting of the Keadex Mina application.
1 lines • 2.44 kB
JavaScript
(()=>{var __webpack_modules__={1909:e=>{"use strict";e.exports=require("copy-webpack-plugin")},5358:(module,__unused_webpack_exports,__webpack_require__)=>{const CopyPlugin=__webpack_require__(1909),{relative}=eval("require")("path");function withMinaLiveWebpackConfig(options){let isNextJsConfig=!1,minaLivePackageAlias="@keadex/mina-live";var _options$minaLivePack;options&&(isNextJsConfig=options.isNextJsConfig,minaLivePackageAlias=null!=(_options$minaLivePack=options.minaLivePackageAlias)?_options$minaLivePack:minaLivePackageAlias);let minaLiveRoot=eval("require").resolve(minaLivePackageAlias);return minaLiveRoot=minaLiveRoot.replace(/\\/g,"/").replace("/index.js",""),function(e){e.plugins||(e.plugins=[]);const i=[];return isNextJsConfig?i.push({from:`${minaLiveRoot}/*.wasm`,to:({context:e,absoluteFilename:i})=>"static/chunks/[name][ext]"},{from:`${minaLiveRoot}/static/keadex-mina/**/*`,to:({context:e,absoluteFilename:i})=>`static/keadex-mina/${relative(`${minaLiveRoot}/static/keadex-mina/`,i)}`}):(i.push({from:`${minaLiveRoot}/*.wasm`,to:({context:e,absoluteFilename:i})=>"static/js/[name][ext]"},{from:`${minaLiveRoot}/static/keadex-mina/locales`,to:({context:e,absoluteFilename:i})=>"_next/static/keadex-mina/locales"},{from:`${minaLiveRoot}/static/keadex-mina/**/*`,globOptions:{ignore:["**/locales"]},to:({context:e,absoluteFilename:i})=>`${relative(`${minaLiveRoot}/static/keadex-mina/`,i)}`}),e.module=Object.assign({},e.module,{rules:e.module.rules.map((e=>(e.oneOf instanceof Array&&(e.oneOf[e.oneOf.length-1].exclude=[/\.(js|mjs|jsx|cjs|ts|tsx)$/,/\.html$/,/\.json$/]),e)))})),e.plugins.push(new CopyPlugin({patterns:i})),e}}module.exports={withMinaLiveWebpackConfig}},5760:(e,i,a)=>{const{withMinaLiveWebpackConfig:t}=a(5358);e.exports=function(e){let i="@keadex/mina-live";var a;return e&&(i=null!=(a=e.minaLivePackageAlias)?a:i),function(e){return Object.assign({},e,{webpack:(a,n)=>(a=t({minaLivePackageAlias:i,isNextJsConfig:!0})(a),n.isServer||(a.output.environment=Object.assign({},a.output.environment,{asyncFunction:!0})),"function"==typeof e.webpack?e.webpack(a,n):a)})}}}},__webpack_module_cache__={};function __webpack_require__(e){var i=__webpack_module_cache__[e];if(void 0!==i)return i.exports;var a=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](a,a.exports,__webpack_require__),a.exports}var __webpack_exports__=__webpack_require__(5760);module.exports=__webpack_exports__})();