title: Azure Functions use import instead of require
body: <p>What is the configuration requirements to use import instead of require?</p>
  
  <p>I'm using function runtime v2.
  I tried upgrading node to v10.12.0 but still get this error when it hits the imports
  Worker was unable to load function store: 'SyntaxError: Unexpected token {' </p>
  
  <p>I have node version set to 10.12.0 in local.settings and in package.json.
  my function is setup like this ...</p>
  
  <pre><code>module.exports = async function(context, queueMessage) {
  import { cosmos } from "@azure/cosmos";
  import { updateChat } from "./channels/chat/newChatMessage";
  import { updateAttributeStatus } from 
  "./channels/attribute/updateAttributeStatus";
  import { documentRequest } from "./channels/document/documentRequest";
  ...
  </code></pre>
  
  <p>Which version of node is supported by Azure Functions and is import supported?  If so, how do I set it up?</p>
  
  <p>Thanks,
  Donnie</p>