title: setup webpack and vue3
body: <p>I'am trying to setup vue3 with webpack and typescript.
  Currently I have the problem that whenever I try to run <code>webpack serve</code>, there will be a warning inside the browser console:</p>
  <pre><code>runtime-core.esm-bundler.js:3413 You are running the esm-bundler build of Vue. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle. See http://link.vuejs.org/feature-flags for more details.
  </code></pre>
  <p>Which I do not understand. My webpack-config is as follows:</p>
  <pre><code>const path = require(&quot;path&quot;)
  
  module.exports = {
      mode: 'development',
      entry: './src/index.ts',
      devtool: 'inline-source-map',
      module: {
          rules: [
              {
                  test: /\.tsx?$/,
                  use: 'ts-loader',
                  exclude: /node_modules/,
              },
          ],
      },
      resolve: {
          alias: {
              vue: &quot;vue/dist/vue.esm-bundler.js&quot;
          },
          extensions: ['.tsx', '.ts', '.js'],
      },
      output: {
          filename: 'bundle.js',
          path: path.resolve(__dirname, 'dist'),
      },
  }
  </code></pre>
  <p>And this is the tsconfig:</p>
  <pre><code>{
      &quot;compilerOptions&quot;: {
          &quot;outDir&quot;: &quot;./dist/&quot;,
          &quot;noImplicitAny&quot;: true,
          &quot;module&quot;: &quot;es6&quot;,
          &quot;target&quot;: &quot;es5&quot;,
          &quot;allowJs&quot;: true,
          &quot;moduleResolution&quot;: &quot;node&quot;
      }
  }
  </code></pre>
  <p>I would like to have a configuration without this warning and then move on to having support for sfc!</p>