title: Error in svelte.config.js Syntax Error: Cannot use import statement outside a module
body: <p>I setting up <code>svelte.config.js</code> like code below:</p>
  <pre><code>import preprocess from 'svelte-preprocess';
  
  const config = {
    preprocess: preprocess(),
  };
  
  export default config;
  </code></pre>
  <p>Suddenly, my Svelte codes keep getting error <code>Error in svelte.config.js SyntaxError: Cannot use import statement outside a module</code></p>
  <p>How to fix this issue? But I still be able to run the project using npm</p>