Skip to content
Snippets Groups Projects
Select Git revision
  • d241622b991cac8c071d47a50263f564e4402701
  • annotation-on-video default protected
  • demo_ci
  • 3-upstream-01022023
  • master
  • gh3538-captions
  • 16-adapt-for-images-annot
  • 15-api-for-annotations-on-video
  • 15-annotations-on-videos
  • video_for_annotations
  • wip-1-annotations-on-videos
  • 9-videoviewer-tests
  • 9_wip_videotests
  • 6-fix-tests-and-ci
  • _fix_ci
  • wip-webpack-from-git
16 results

invalid-api-response.test.js

Blame
  • webpack.config.js 808 B
    const path = require('path');
    
    module.exports = [
      {
        entry: './index.js',
        output: {
          path: __dirname,
          filename: 'index.umd.js',
          libraryTarget: 'umd',
          library: 'm3core',
        },
        module: {
          rules: [
            {
              test: /\.js$/,
              exclude: /node_modules/,
              use: ['babel-loader', 'eslint-loader'],
            },
          ],
        },
      },
      {
        entry: './__tests__/integration/react-example/index.jsx',
        output: {
          path: path.join(__dirname, '__tests__/integration/react-example'),
          filename: 'test-react.build.js',
        },
        resolve: { extensions: ['.js', '.jsx'] },
        module: {
          loaders: [
            {
              test: /\.jsx?$/,
              exclude: /(node_modules)/,
              loader: 'babel-loader',
            },
          ],
        },
      },
    ];