text: // rollup.config.js
  
  /**
   * Copyright (c) Tom Weatherhead. All Rights Reserved.
   *
   * This source code is licensed under the MIT license found in
   * the LICENSE file in the root directory of this source tree.
   */
  
  'use strict';
  
  import { nodeResolve } from '@rollup/plugin-node-resolve';
  import { terser } from 'rollup-plugin-terser';
  
  export default {
  	input: './dist/lib/main.js',
  	output: [
  		{
  			// Create a CommonJS version for Node.js
  			file: 'dist/thaw-data-sources.cjs.js',
  			format: 'cjs',
  			exports: 'named'
  		},
  		{
  			// Create an ESModule version
  			file: 'dist/thaw-data-sources.esm.js',
  			format: 'es',
  			esModule: true,
  			compact: true,
  			plugins: [terser()]
  		},
  		{
  			// Create a version that can run in Web browsers
  			file: 'dist/thaw-data-sources.js',
  			name: 'thaw-data-sources',
  			format: 'umd',
  			compact: true,
  			plugins: [terser()]
  		}
  	],
  	// context: 'window'
  	context: 'this',
  	plugins: [nodeResolve()]
  };
  