Skip to content
Snippets Groups Projects
Select Git revision
  • 39de99511fb859b4a9aa16ad1bd9d80edcbe591c
  • main default protected
  • Issue/3141-rdsNoLonga
  • Issue/3180-fixMetadataNotLoading
  • dev protected
  • Issue/3177-resourceTypeDescriptionTexts
  • Issue/3090-tosProblems
  • Issue/3178-iconColorBug
  • Issue/3160-deactivateDownloadForFolders
  • Issue/3111-fixLoadingGitLabResource
  • Issue/3133-subProjectsChanges
  • Issue/3139-dsnrw
  • Issue/3167-changeTextAndAddLink
  • Issue/3070-newIconsForResourceTypes
  • Issue/3145-redesignLoginPage
  • Issue/3093-moreInformationInTheDeletionEmails
  • Issue/3040-closeTokenWindowWithXButton
  • Issue/3152-fixResourceStore
  • Issue/xxxx-DuckDBTest
  • Issue/3152-fixUpdateRequestPayload
  • Issue/2489-addNotificationManagement
  • v3.19.0
  • v3.18.0
  • v3.17.2
  • v3.17.1
  • v3.17.0
  • v3.16.1
  • v3.16.0
  • v3.15.6
  • v3.15.5
  • v3.15.4
  • v3.15.3
  • v3.15.2
  • v3.15.1
  • v3.15.0
  • v3.14.0
  • v3.13.1
  • v3.13.0
  • v3.12.0
  • v3.11.0
  • v3.10.1
41 results

ConfigurationMetadata.vue

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    rollup.config.ts 1.26 KiB
    import resolve from '@rollup/plugin-node-resolve'
    import commonjs from '@rollup/plugin-commonjs'
    import sourceMaps from 'rollup-plugin-sourcemaps'
    import camelCase from 'lodash.camelcase'
    import typescript from 'rollup-plugin-typescript2'
    import json from '@rollup/plugin-json'
    
    const pkg = require('./package.json')
    
    const libraryName = 'index'
    
    export default {
      input: `src/${libraryName}.ts`,
      output: [
        { file: pkg.main, name: camelCase(libraryName), format: 'umd', sourcemap: true },
        { file: pkg.module, format: 'es', sourcemap: true },
      ],
      // Indicate here external modules you don't wanna include in your bundle (i.e.: 'lodash')
      external: [],
      watch: {
        include: 'src/**',
      },
      plugins: [
        // Allow json resolution
        json(),
        // Compile TypeScript files
        typescript({ useTsconfigDeclarationDir: true }),
        // Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs)
        commonjs(),
        // Allow node_modules resolution, so you can use 'external' to control
        // which external modules to include in the bundle
        // https://github.com/rollup/rollup-plugin-node-resolve#usage
        resolve({
          browser: true,
          preferBuiltins: false,
        }),
    
        // Resolve source maps to the original source
        sourceMaps(),
      ],
    }