<h1 dir="auto">Examples bug report</h1>
<h2 dir="auto">Example name</h2>
<p dir="auto">with-ant-design-less<br>
<a href="https://github.com/zeit/next.js/tree/canary/examples/with-ant-design-less">https://github.com/zeit/next.js/tree/canary/examples/with-ant-design-less</a></p>
<h2 dir="auto">Describe the bug</h2>
<p dir="auto">When I click on a Link to a page that uses any antd component, it doesn't work and when I click on a Link to a page that doesn't use any antd component, it works.</p>
<h2 dir="auto">To Reproduce</h2>
<p dir="auto">I create a codesandbox to reproduce te bug <a href="https://codesandbox.io/s/nextjs-ant-design-8t41c" rel="nofollow">https://codesandbox.io/s/nextjs-ant-design-8t41c</a></p>
<ul dir="auto">
<li>Click on "Go to page with antd" doesn't work</li>
<li>Click on "Go to page without antd"  works</li>
</ul>
<h2 dir="auto">Expected behavior</h2>
<p dir="auto">The Link redirect to page that uses antd</p>
<h2 dir="auto">System information</h2>
<p dir="auto">Dependencies:<br>
"@zeit/next-less": "1.0.1",<br>
"antd": "3.25.1",<br>
"babel-plugin-import": "1.12.2",<br>
"less": "3.10.3",<br>
"less-vars-to-js": "1.3.0",<br>
"next": "latest",<br>
"null-loader": "3.0.0",<br>
"react": "^16.7.0",<br>
"react-dom": "^16.7.0"</p>
<p dir="auto">This is bug report</p>
<p dir="auto">Link does not work with css-module imported. That happens when page with Link has no css, and linked page has. No errors in console, so im not sure about reasons, but there is minimal repo to reproduce:<br>
<a href="https://github.com/standy/next-css-error">https://github.com/standy/next-css-error</a></p>
<p dir="auto">Bug appears in <code class="notranslate">next@7.0.0</code> + <code class="notranslate">next-css@1.0.1</code>,<br>
Older <code class="notranslate">next@6.1.2</code> + <code class="notranslate">next-css@0.2.0</code> works fine</p>