title: webpack function usage after bundling
body: <p>I try to pack that <a href="https://www.npmjs.com/package/@jscad/dxf-deserializer" rel="nofollow noreferrer">https://www.npmjs.com/package/@jscad/dxf-deserializer</a> library and use in browser.
  Uage from node looks like</p>
  <pre><code>const deSerializer = require('@jscad/dxf-deserializer')
  const rawData = fs.readFileSync('PATH/TO/file.dxf')
  const jscadCode = deSerializer(rawData)
  </code></pre>
  <p>How should i use that now after linking bundle script?</p>
  <p>I had tried</p>
  <pre><code>let objs = deserialize(fileText,'square10x10',{output: 'csg'})
  </code></pre>
  <p>and got</p>
  <pre><code>ReferenceError: deserialize is not defined
  </code></pre>
  <p>There is js test file works fine with node</p>
  <pre><code>const fs = require('fs')
  const path = require('path')
  const test = require('ava')
  const { CSG, CAG } = require('@jscad/csg')
  
  const { nearlyEqual } = require( '../../../test/helpers/nearlyEqual' )
  
  const { deserialize } = require( '../index' )
  
  const samples = path.resolve('../../node_modules/@jscad/sample-files')
  
  //
  // Test suite for DXF deserialization (import)
  //
  test('ASCII DXF from Bourke 3D Entities to Object Conversion', t =&gt; {
    //const dxfPath = path.resolve(__dirname, '../../../../sample-files/dxf/bourke/3d-entities.dxf')
    const dxfPath = path.resolve(samples, 'dxf/bourke/3d-entities.dxf')
    t.deepEqual(true, fs.existsSync(dxfPath))
  
    let dxf = fs.readFileSync(dxfPath, 'UTF8')
    let objs = deserialize(dxf,'aaa',{output: 'objects'})
  
  // expect one layer, containing 2 objects (CSG, and Line3D)
    t.true(Array.isArray(objs))
    t.is(objs.length,2)
  })
  </code></pre>