),\n replacement: path.resolve(\n __dirname,\n `..\u002F..\u002Fpackages\u002F${packageJson.name}\u002Fsrc`\n ),\n };\n}, {});\n\n\u002F**\n * https:\u002F\u002Fvitejs.dev\u002Fconfig\u002F\n * @type { import('vite').UserConfig }\n *\u002F\nexport default {\n plugins: [reactRefresh()],\n resolve: {\n alias: [\n ...aliases,\n {\n find: \u002F^@mui\\\u002Ficons-material\\\u002F(.*)\u002F,\n replacement: '@mui\u002Ficons-material\u002Fesm\u002F$1',\n },\n ],\n },\n server: {\n port: 8080,\n },\n define: { 'process.env': {} },\n};\n","directory_shortid":null,"id":"b283dac8-b4bb-4682-8ae8-8e27c6bd0b7a","inserted_at":"2022-05-25T16:35:12","is_binary":false,"sha":null,"shortid":"ByYGuacRjw5","source_id":"5fcf1d7f-ac1c-4de3-9182-f1412e82bcd2","title":"vite.config.js","updated_at":"2022-05-25T16:35:12","upload_id":null},{"code":"const path = require('path');\nconst HtmlWebpackPlugin = require('html-webpack-plugin');\n\nmodule.exports = {\n mode: 'development',\n entry: {\n polyfills: '.\u002Fsrc\u002Fpolyfills.ts',\n index: '.\u002Fsrc\u002Findex.tsx',\n },\n output: {\n path: path.resolve(__dirname, '.\u002Foutput'),\n filename: '[id].bundle.js',\n },\n devtool: 'cheap-module-source-map',\n resolve: {\n extensions: ['.ts', '.js', '.tsx', '.json'],\n },\n module: {\n rules: [\n {\n test: \u002F\\.(t|j)sx?$\u002F,\n exclude: \u002Fnode_modules\u002F,\n use: {\n loader: 'ts-loader',\n options: {\n transpileOnly: true,\n },\n },\n },\n {\n test: \u002F\\.html$\u002F,\n exclude: \u002Fnode_modules\u002F,\n use: { loader: 'html-loader' },\n },\n ],\n },\n plugins: [\n new HtmlWebpackPlugin({\n template: '.\u002Findex-webpack.html',\n }),\n ],\n devServer: {\n host: '127.0.0.1',\n port: 8080,\n },\n stats: {\n children: true,\n },\n};\n","directory_shortid":null,"id":"4039ebf4-f3bf-4bde-a929-cce4fb38f27e","inserted_at":"2022-05-25T16:35:12","is_binary":false,"sha":null,"shortid":"SJ5GuT5Asvc","source_id":"5fcf1d7f-ac1c-4de3-9182-f1412e82bcd2","title":"webpack.config.js","updated_at":"2022-05-25T16:35:12","upload_id":null}],"npm_registries":[],"git":{"branch":"master","commit_sha":"d8c0c52266dc9dd5143600e132223f3b3b44696d","path":"examples\u002Fsimple","repo":"react-admin","username":"marmelab"},"updated_at":"2022-05-25T16:35:12","source_id":"5fcf1d7f-ac1c-4de3-9182-f1412e82bcd2","external_resources":[],"user_liked":false,"view_count":229807,"picks":[],"version":702,"permissions":{"prevent_sandbox_export":false,"prevent_sandbox_leaving":false},"privacy":0,"original_git_commit_sha":null,"forked_template":null,"is_frozen":false,"room_id":null,"always_on":false,"inserted_at":"2020-11-02T02:25:06","feature_flags":{"comments":false,"container_lsp":false},"forked_template_sandbox":null,"base_git":null,"template":"node","team":null,"like_count":8,"collection":false,"fork_count":1045,"owned":false,"preview_secret":null,"title":"simple"};