my eye

Release 0.1.73

Committed 7396df

--- a/pyproject.toml
+++ b/pyproject.toml

 
 [tool.poetry]
 name = "webint"
-version = "0.1.72"
+version = "0.1.73"
 description = "an opinionated web framework that stays out of your way"
 readme = "README.md"
 homepage = "https://ragt.ag/code/projects/webint"

index 0000000..333adc0
--- /dev/null

+{
+  "compilerOptions": {
+    "moduleResolution": "node",
+    "outDir": "./dist",
+    "allowJs": true,
+    "target": "esnext",
+    "module": "esnext",
+    "resolveJsonModule": true,
+    "allowSyntheticDefaultImports": true,
+    "esModuleInterop": true
+  },
+  "files": ["web.ts/index.ts"]
+}

index 0000000..03d2ee9
--- /dev/null

+const path = require('path')
+// const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin')
+
+// XXX //Webpack Analyzer
+// XXX const WebpackBundleAnalyzer = require("webpack-bundle-analyzer")
+// XXX   .BundleAnalyzerPlugin;
+
+const webpageConfig = {
+  entry: './web.ts/index.ts',
+  resolve: {
+    extensions: ['', '.webpack.js', '.web.js', '.ts', '.tsx', '.js']
+  },
+
+  // mode: 'production',
+  // mode: 'development',
+  // devtool: 'inline-source-map',
+
+  node: false,
+  module: {
+    rules: [
+      { test: /\.tsx?$/, loader: 'ts-loader' },
+      // {
+      //   test: /\.css$/,
+      //   use: ['style-loader', 'css-loader']
+      // },
+      // {
+      //   test: /\.ttf$/,
+      //   type: 'asset/resource'
+      // },
+      // {
+      //   test: /\.js$/,
+      //   enforce: 'pre',
+      //   use: ['source-map-loader']
+      // }
+    ]
+  },
+  experiments: {
+    outputModule: true
+  },
+  // stats: {
+  //   errorDetails: true
+  // },
+  // plugins: [new MonacoWebpackPlugin()],
+  // XXX plugins: [new WebpackBundleAnalyzer()],
+  output: {
+    path: path.resolve(__dirname) + '/web/framework/static/',
+    filename: 'web.js',
+    publicPath: '/static/',
+    library: {
+      type: 'module'
+    }
+  },
+  ignoreWarnings: [/Failed to parse source map/]
+}
+
+// const extensionConfig = Object.assign({}, config, {
+//   output: {
+//     path: path.resolve(__dirname),
+//     filename: './dist/web.js',
+//     library: {
+//       name: 'web',
+//       type: 'commonjs-module'
+//     }
+//   }
+// })
+
+module.exports = [webpageConfig]